17.0 Object triggers > How-to's > Modifying a trigger

Conventions

17.7 Modifying a trigger

To modify a trigger

  1. Type mschedctl -m into the command line and set off the trigger modification with trigger:<id>. Use the trigger's assigned ID or specified name to state which trigger will receive the modification.
  2. > mschedctl -m trigger:nodeFailTrig

  3. Type any changing attributes equal to the new value. Separate multiple modifications with a space between each <attr>=<val> pair. In this case, set the Offset and MaxRetry attributes the following way:
  4. > mschedctl -m trigger:nodeFailTrig Offset=00:10:00 MaxRetry=10

    The newly-specified attributes replace the original ones. Trigger nodeFailTrig now has an offset of 10 minutes and will try to fire a maximum of 10 times if it fails. The new trigger has the following attributes:

    EType=fail,AType=exec,Action="/scripts/start_rsv.pl",Name=nodeFailTrig,Offset=00:10:00,MultiFire=TRUE,RearmTime=01:00:00,MaxRetry=10

© 2014 Adaptive Computing