Administration Guide : Universal Messaging Enterprise Manager : Administration Using Enterprise Manager : Scheduling : Universal Messaging Scheduling : Configuration Example
Universal Messaging Scheduling : Configuration Example

scheduler myConfig {
/*
Declare a local name for the Config(GlobalValues) config group and call it myGlobal.
Can be used for both triggers and tasks
*/
declare Config myGlobal ("GlobalValues");


/*
When this scheduler task is initialised, set the Realms log level to 2
*/
initialise{
myGlobal.fLoggerLevel(2);
}

/*
Then if the log level is ever set to 0, automatically reset it to 2.
*/
when(myGlobal.fLoggerLevel == 0){
myGlobal.fLoggerLevel(2);
}

/*
If the maximum number of connections on the realm is less than 0,
implying no limit, then set it to 100.
*/
when(myGlobal.MaxNoOfConnections <0){
myGlobal.MaxNoOfConnections(100);
}
}
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback