Skip to content

Commit

Permalink
todo...
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Mar 29, 2017
1 parent e40d210 commit 1d32424
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/cylc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,7 @@ def configure_reftest(self, recon=False):
def run_event_handlers(self, event, message):
"""Run a suite event handler."""
if self.run_mode != 'live':
# TODO!
return
self._run_event_mail(event, message)
self._run_event_custom_handlers(event, message)
Expand Down
33 changes: 33 additions & 0 deletions suite.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

[cylc]
cycle point format = %Y
[scheduling]
initial cycle point = 2010
final cycle point = 2013
[[dependencies]]
[[[P1Y]]]
graph = foo[-P1Y]:out => foo & bar

[runtime]
[[root]]
[[[simulation]]]
proportional speedup factor = 20
disable event handlers = False
[[foo]]
script = """
sleep 5
cylc message "ready to go"
sleep 5"""
[[[job]]]
execution time limit = PT2M
[[[outputs]]]
out = "ready to go"
[[bar]]
[[[events]]]
mail events = succeeded
[[[job]]]
execution time limit = PT1M
execution retry delays = PT10S
[[[simulation]]]
fail points = 2011, 2012
fail first try only = True

0 comments on commit 1d32424

Please sign in to comment.