Event scheduling

The schedule table contains a record for each SCAuto agent. It contains instructions indicating how often the agent reads a queue and which application to execute if the read returns records. You use the Event Schedule form to manage event agent operations.

When the event agent starts, the event schedule record must have a class of event (or the name you specify for the event scheduler) and must have an expiration earlier than the current time. Set the expiration to the current date and time before starting the scheduler.

Since the event scheduler is a serial process, you may want to have more than one scheduler read events in the event queue, particularly when inventory activity is high, preventing incident management activity.

Use the Query field to further define what type of event to select from the eventin file. The user-specified query entered in the schedule record is appended automatically to the default event scheduler query, evtime<=tod(), to form a more specific query. If the Query field is left blank, only the default query is applied.

Note The system always places the time portion of the query in front of the user-specified query.

If you define a query for use against the eventin file, ensure it is fully-keyed for maximum performance.

The agent processor attempts to restart any applications that ended while running (that have a status of application running). If you change for one of your agents, ensure there are no other agents with the same schedule class and a status of application running.