Skip to content

Commit

Permalink
Merge pull request #1929 from matthewrmshin/execution-time-limit
Browse files Browse the repository at this point in the history
Job execution time limit enhancement
  • Loading branch information
arjclark authored Jul 25, 2016
2 parents 8f36630 + 5b6e963 commit 50cd49e
Show file tree
Hide file tree
Showing 165 changed files with 1,224 additions and 732 deletions.
2 changes: 1 addition & 1 deletion bin/cylc-email-suite
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ usage() {
echo "[cylc]"
echo " [[environment]]"
echo " MAIL_ADDRESS = foo@bar.baz.waz"
echo " [[event hooks]]"
echo " [[events]]"
echo " shutdown handler = cylc email-suite"
echo ""
echo "See the Suite.rc Reference (Cylc User Guide) for more information"
Expand Down
2 changes: 1 addition & 1 deletion bin/cylc-email-task
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ usage() {
echo " MAIL_ADDRESS = foo@bar.baz.waz"
echo "[runtime]"
echo " [[root]]"
echo " [[[event hooks]]]"
echo " [[[events]]]"
echo " failed handler = cylc email-task"
echo ""
echo "See the Suite.rc Reference (Cylc User Guide) for more information"
Expand Down
8 changes: 4 additions & 4 deletions dev/suites/busy/suite.rc
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ description = A suite of 1000 tasks per cycle
"""
[runtime]
[[root]]
command scripting = sleep 1
[[[job submission]]]
method = at
[[[event hooks]]]
script = sleep 1
[[[job]]]
batch system = at
[[[events]]]
succeeded handler = true
failed handler = true
retry handler = true
Expand Down
6 changes: 2 additions & 4 deletions dev/suites/dave/suite.rc
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ background thread; (c) job submission in a background worker thread."""
[[root]]
env-script = "PS4='$(date): ';set -x"
script = "echo Running on $(hostname) in $PWD; sleep 5"
[[[event hooks]]]
#succeeded handler = "rose task-hook --mail-if=submission_failed,submission_timeout,execution_timeout"
[[REMOTE]]
[[[job submission]]]
method = at
[[[job]]]
batch system = at
[[[remote]]]
#host = els003
host = $(sleep 5; echo oliverh-33586DL.greta.niwa.co.nz)
Expand Down
Loading

0 comments on commit 50cd49e

Please sign in to comment.