Commit 97ffa0de authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added job delay

parent 72bc5c67
......@@ -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 =>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment