Versions Compared

Key

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

...

Ecf Script

We will add a new task /test/f4/f5/t1.
Create new ecf script file $HOME/course/test/f4/f5/t1.ecf to use these variables.

 

Code Block
languagebash
title $HOME/course/test/f4/f5/t1.ecf
%include <head.h>
ecflow_client --label=info "My name is %NAME%" "My value is %VALUE%" "My date is %DATE%"
# Note the use of repeat date generated variables DATE_YYYY, DATE_MM, DATE_DD, DATE_DOW to automatically reference year,month,day of the month,day of the week 
# These can also be used in trigger expression.
ecflow_client --label=date "year:(%DATE_YYYY%) month:(%DATE_MM%) day of month:(%DATE_DD%) day of week:(%DATE_DOW%)"  
sleep %SLEEP%
%include <tail.h>

 

...