...
python
s1 = ecflow.Suite('s1') child_list = [ ChildCmdType.label ] zombie_attr = ZombieAttr(ZombieType.ecf, child_list, ZombieUserActionType.fob, 300) s1.add_zombie(zombie_attr)
text
suite s1 zombie ecf:fob:label:
- alter
ecflow_client --alter=add zombie "ecf:fob:label:" /s1
...
python
s1 = ecflow.Suite('s1') child_list = [ ChildCmdType.label, ChildCmdType.event, ChildCmdType.meter ] zombie_attr = ZombieAttr(ZombieType.ecf, child_list, ZombieUserActionType.fob, 300) s1.add_zombie(zombie_attr)
text
suite s1 zombie ecf:fob:label,event,meter:
- alter
ecflow_client --alter=add zombie "ecf:fob:label,event,meter:" /s1
...
Here are some further example of using --alter:
- ecflow_client --alter=add zombie "ecf:fob::" /suiteX # fob (init,event, meter, label,abort, complete) child commands. This prevents zombies from blocking the script. Use with great care.
- ecflow_client --alter=add zombie "ecf:fail::" /suiteY # fail the script straight away for any child command, in the job file.
...
To delete a zombie attribute, please use one of:
- ecflow_client --alter=delete zombie ecf /suiteX
- ecflow_client --alter=delete zombie path /suiteX
- ecflow_client --alter=delete zombie user /suiteX
...
ecflow_client --alter=add zombie "ecf:kill:init,complete:" /suiteZ
...
ecflow_client --alter=add zombie "user:kill::" /suiteZ
...
ecflow_client --alter=add zombie "ecf:adopt:complete:" /suiteZ
...
ecflow_client --alter=add variable ECF_NONSTRICT_ZOMBIES 1 / # adds the variable to the root/server level, and hence affect all suites on the server
ecflow_client --alter=add variable ECF_NONSTRICT_ZOMBIES 1 /suiteX # adds the variable at the suite level,, and hence only affects this suite.
...