You are here: 17 Object Triggers > References > Scheduler Triggers

17.15 Scheduler Triggers

Triggers attached to the scheduler follow the same basic rules and formats as attaching them to other objects; however, not all attribute options are valid for each object. The scheduler, like the other objects, has a unique set of trigger rules. The table below details the methods, options, and other notable details associated with attaching triggers to the scheduler.

17.15.1 Creation Methods

Method Format Example
Command line on existing scheduler: mschedctl - c mschedctl -c trigger <trigSpec> -o sched:<schedID>

> mschedctl -c trigger EType=end,AType=exec,Action="/tmp/startRsvs.sh" -o sched:moab

Scheduler configuration in moab.cfgSCHEDCFG SCHEDCFG[<name>] TRIGGER=<trigSpec>

SCHEDCFG[MyCluster] TRIGGER=EType=fail,AType=mail,Action="scheduler failure detected on $TIME",RearmTime=15:00

17.15.2 Valid Event Types

17.15.3 Valid Action Types

17.15.4 Mail Recipient

The user listed first in ADMINCFG (usually root)

See Using a Trigger to Send Email for more information.

© 2016 Adaptive Computing