...
Ecf Script
We will create new family f3 with a task t1.
Create ecf script $HOME/course/test/f3/t1.ecf
Code Block | ||
---|---|---|
| ||
%include <head.h> n=1 while [[ $n -le 5 ]] # Loop 5 times do msg="The date is now $(date)" ecflow_client --label=info "$msg" # Set the label sleep 60 # Wait a one minute (( n = $n + 1 )) done ecflow_client --label info "I have now finished my work." %include <tail.h> |
Text
# Definition of the suite test. Note Family f1,f2 from previous pages are omitted
suite test
edit ECF_INCLUDE "$HOME/course"
edit ECF_HOME "$HOME/course"
family f3
task t1
label info ""
endfamily
endsuite
...