ecFlow's documentation is now on readthedocs!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Like time, cron defines time dependency for a node, but it ignores the suites clock and allows the node to be repeated indefinitely.
This means that nodes, and thus suites with cron will never complete.
cron 23:00 # run every day at 23:00
cron 10:00 20:00 01:00 # run every hour between 10am and 8pm
cron -w 0,1 10:00 # run every Sunday and Monday at 10am
cron -d 10,11,12 12:00 # run 10th, 11th and 12th of each month ~ # at noon
cron -m 1,2,3 12:00 # run on January, February and March

  1. every day at noon
    cron -w 0 -m 5,6,7,8 10:00 20:00 01:00
    task x
    cron -w 1,2,3,4,5 10:00
    cron -w 0,6 12:00
    task x
    cron -w
    When the node becomes complete it will be queued immediately. This means that the suite will never complete, and output is not directly accessible through ecflowview
    If tasks abort, ecFlow will not schedule it again. Also if the time the job takes to complete is longer than the interval a "slot" is missed, e.g. cron 10:00 20:00 01:00 if the 10:00 run takes more than an hour the 11:00 run will never occur.
    With cron you can also specify weekdays, day of the month and month of the year masks.
  • No labels