(Click to open topic with navigation)
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> | |
Scheduler configuration in moab.cfg: SCHEDCFG | 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.