ecflow.ZombieUserActionType
- class ecflow.ZombieUserActionType
Bases:
enum
ZombieUserActionType is used define an automated response. See class ZombieAttr
This can be either on the client side or on the server side
client side:
fob: The child command always succeeds, i.e allows job to complete without blocking
fail: The child command is asked to fail.
block: The child command is asked to block. This is the default action for init,complete and abort child commands
server side:
adopt: Allows the password supplied with the child commands, to be adopted by the server
kill: Kills the zombie process associated with the child command using ECF_KILL_CMD. path zombies will need to be killed manually. If kill is specified for path zombies they will be fobed, i.e allowed to complete without blocking the job.
remove: ecflow_server removes the zombie from the zombie list. The child continues blocking. If the process is still running, the zombie may well re-appear
Note: Only adopt will allow the child command to continue and change the node tree
- ZombieUserActionType.adopt = ecflow.ZombieUserActionType.adopt
- ZombieUserActionType.block = ecflow.ZombieUserActionType.block
- ZombieUserActionType.fail = ecflow.ZombieUserActionType.fail
- ZombieUserActionType.fob = ecflow.ZombieUserActionType.fob
- ZombieUserActionType.kill = ecflow.ZombieUserActionType.kill
- ZombieUserActionType.names = {'adopt': ecflow.ZombieUserActionType.adopt, 'block': ecflow.ZombieUserActionType.block, 'fail': ecflow.ZombieUserActionType.fail, 'fob': ecflow.ZombieUserActionType.fob, 'kill': ecflow.ZombieUserActionType.kill, 'remove': ecflow.ZombieUserActionType.remove}
- ZombieUserActionType.remove = ecflow.ZombieUserActionType.remove
- ZombieUserActionType.values = {0: ecflow.ZombieUserActionType.fob, 1: ecflow.ZombieUserActionType.fail, 2: ecflow.ZombieUserActionType.adopt, 3: ecflow.ZombieUserActionType.remove, 4: ecflow.ZombieUserActionType.block, 5: ecflow.ZombieUserActionType.kill}