(Expanded) Definition file: It consists of the following keywords for nodes and their attributes definition: - suite family task endsuite endfamily endtask
- autocancel automigrate autorestore,clock complete cron date day defstatus edit event extern inlimit label late limit meter repeat time today trigger
- on a line, text beyond # is a comment
Comparing with SMS text owner are left behind. autocancel for a node to be deleted automatically autocancel +01:00 # cancel one hour after complete autocancel 10 # cancel 10 days after complete autocancel 0 # cancel immediately after being complete clock clock real # hybrid may be used in test mode complete for a node, to be recursively forced complete from a condition complete t1:1 or t1==complete cron to run a task regularly, task is requeued as soon as complete is received ie no trigger on the parent task complete shall be used task can only become complete, thanks to inherited defstatus or complete attribute cron 23:00 # at next 23:00 cron 10:00 20:00 01:00 # every hour from 10am to 8pm date date 25.12.2012 date 01.*.* day day monday # sunday,monday,tuesday,wednesday,thursday,friday,saturday defstatus defstatus complete #unknown,suspended,queued,submitted,active,aborted edit to attach a variable definition to a node edit variable value # variables to be find/and/replaced in a task wrapper edit COMMAND "echo OK" # %COMMAND:sleep 1% edit TRIGGER "t1==complete" # ecflow_client --wait="%TRIGGER:1==1%" event event 1 # may fit a call in task.ecf to 'ecflow_client --event=1' event ready # ecflow_client --event=ready extern extern /path/to/a/external/node # to allow path's use in trigger/complete inlimit register the node and its kids to a limit inlimit /limits:hpc inlimit /suite/limits:hpc inlimit /suite/limits:hpc 10 label label name "default message" # task.ecf: ecflow_client name "label update" late late -s +00:15 -a 20:00 -c +02:00 limit limit hpc 500 meter meter name -1 100 90 # 90 is threshold (optional) # task.ecf: ecflow_client --meter=name 30 repeat repeat is incremented when all nodes below are complete an aborted task DOES prevent repeat to increment an Operator/Analsyst/dedicated task can help carry on repeat day step [ENDDATE] # only for suites repeat integer VARIABLE start end [step] repeat enumerated VARIABLE first [second [third ...]] repeat string VARIABLE str1 [str2 ...] repeat date VARIABLE yyyymmdd yyyymmdd [delta] time task become complete ONLY when time range is over better not to use such task in a trigger expression time 23:00 # at next 23:00 time 10:00 20:00 01:00 # every hour from 10am to 8pm time +00:01 # one minute after the begin suite time +00:10 01:00 00:05 # 10-60 min after begin every 5 min today with such attribute, task will start straight when loaded/replaced after given time while time attribute would make it wait the next day today 3:00 # today at 3:00 today 10:00 20:00 01:00 # every hour from 10am to 8pm trigger for a task to wait the right condition (step/meter/status/variable(int)) to start |