17.0 Object triggers > How-to's > Using a trigger to perform internal Moab actions
17.4 Using a trigger to perform internal Moab actions
To perform internal actions in Moab with a trigger
- Create a trigger on a job, node, or reservation, setting the AType to internal and the Action to one of the following:
- node:-:reserve - reserves the node to which the trigger is attached
- job:-:cancel - cancels the job to which the trigger is attached
- reservation:-:cancel - cancels the reservation to which the trigger is attached
The specified object reserves or cancels itself once the event occurs. See Internal Action for examples.