Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Ecf Script

We will create new tasks (t3, t4) that will be triggered by the events emitted in task t2.
Create the ecf script for t3 and t4 by copying t1.
To notify ecflow_server, the task (t2 in the example below)
must call ecflow_client –event which is one of the child command‘s

 

Code Block
%include <head.h>
echo "I will now sleep for %SLEEP% seconds"
sleep %SLEEP%
ecflow_client --event =a       # Set the first event
sleep %SLEEP%                 # Sleep a bit more
ecflow_client --event =b       # Set the second event
sleep %SLEEP%                 # A last nap...
%include <tail.h>

 

...