...
This is small follow up exercise where we will use embedded triggers.
These are triggers trigger expression embedded within the scripts.
Whilst the expression is not true true, then job will hold
Ecf Script
...
- Edit the suite definition file to add the trigger.
- Replace the suite
python: python3 test.py ; python3 client.py
text: ecflow_client --suspend=/test ; ecflow_client --replace=/test test.def - Observe the tasks in ecflow_ui .
- Notice the wait icon on task t2.
Introduce an error in the wait expression and ensure that abort the job
Code Block language bash title Introduce error in wait expression ecflow_client --wait="txx == complete" # there is no node with name tax, this should abort the task
Introduce an impossible expression, what is the effect.
Code Block ecflow_client --wait="1 == 0" # this expression will never be satisfied.
Horizontal Navigation Bar | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...