Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job execution time limit enhancement #1929

Merged
merged 3 commits into from
Jul 25, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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