Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
97ffa0de
Commit
97ffa0de
authored
Apr 08, 2016
by
Peter van 't Hof
Browse files
Added job delay
parent
72bc5c67
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunction.scala
View file @
97ffa0de
...
...
@@ -50,9 +50,12 @@ trait BiopetCommandLineFunction extends CommandLineResources { biopetFunction =>
writer
.
println
(
"set -eubf"
)
writer
.
println
(
"set -o pipefail"
)
lines
.
foreach
(
writer
.
println
)
jobDelayTime
.
foreach
(
x
=>
writer
.
println
(
s
"sleep $x"
))
writer
.
close
()
}
var
jobDelayTime
:
Option
[
Int
]
=
config
(
"job_delay_time"
)
// This overrides the default "sh" from queue. For Biopet the default is "bash"
updateJobRun
=
{
case
jt
:
JobTemplate
=>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment