| 1 |
[scheduler] |
| 2 |
[[events]] |
| 3 |
abort on stall timeout = True |
| 4 |
stall timeout = PT0S |
| 5 |
abort on inactivity timeout = True |
| 6 |
inactivity timeout = PT3M |
| 7 |
[scheduling] |
| 8 |
[[graph]] |
| 9 |
R1 = submit-failed:submit-failed? => a-task |
| 10 |
[runtime] |
| 11 |
[[a-task]] |
| 12 |
script = """ |
| 13 |
# Write to task stdout log |
| 14 |
echo "the quick brown fox" |
| 15 |
# Write to task stderr log |
| 16 |
echo "jumped over the lazy dog" >&2 |
| 17 |
# Write to a custom log file |
| 18 |
echo "drugs, money & whitespace" > "${CYLC_TASK_LOG_ROOT} custom.log" |
| 19 |
# Generate a warning message in the workflow log. |
| 20 |
cylc message -p WARNING 'marmite and squashed bananas' |
| 21 |
# Remove the submit-failed task. |
| 22 |
cylc remove "${CYLC_WORKFLOW_NAME}//1/submit-failed" |
| 23 |
""" |
| 24 |
[[submit-failed]] |
| 25 |
# This causes a submission failure due to Bash syntax check. |
| 26 |
# In this case the job file isn't even written remotely. |
| 27 |
script = if |