Administration - System - Scheduler displays the list of scheduled tasks in ELMA and the result of their execution. Both user tasks and periodic tasks are displayed.
Tasks are grouped by type, depending on their purpose:
Business Processes – tasks for starting instances of the processes, with automatic start.
Queue of messages with guaranteed delivery – tasks for sending and receiving messages with guaranteed delivery;
Projects+ – ELMA Projects+tasks for sending notifications and setting system tasks of the application maintenance. This group of functions is displayed only after ELMA Projects+ activation;
System – tasks, which provide the system standard functioning;
KPI management - ELMA KPI application tasks for collecting data. This group of functions is displayed only after ELMA KPI activation;
Tasks are additionally grouped by the trigger that starts execution. The trigger has bold font in the list (fig. 1)
Fig. 1. Administration - System - Scheduler.
The table displays additional information on the scheduler tasks:
Last Status - the last task execution result. There are five possible statuses:
Waiting - the execution time of the trigger came, but the task has never been executed;
Being executed – the task is being executed at the moment;
Executed successfully - the task has been successfully executed;
Executed with errors – the task has been executed with an error and the trigger completed its work;
Execution failed - during the last run an error occurred that interrupted the trigger.
Last Start - date and time of the last task trigger. The actual task start time may be different from the time in this column. Usually, this happens, if the server had been disabled, when the trigger started.
Next Start - date and time of the next task trigger.
- task force start button, which allows starting the task execution regardless of the schedule.
Start History
You can see the tasks start history and the information on the tasks execution results in Administration - System - Scheduler.
How to view the tasks start history:
click Start History (fig. 2, unit 1) to view the general tasks start history (fig. 3);
click the trigger name in the list of the scheduler tasks (fig. 2, unit 2) or in the general start history (fig. 3, unit 1) to view the history of tasks, executed by a particular trigger (fig. 4);
click the task name in the list of scheduler tasks (fig. 2, unit 3), general start history (fig. 3, unit 2) or start history of tasks, executed by a particular trigger (fig. 4, unit 1) to view the tasks start history (fig. 5);
click the execution status in the list of scheduler tasks (fig. 2, unit 4), general start history (fig. 3, unit 3), start history of tasks, executed by a particular trigger (fig. 4, unit 2) or the task start history (fig. 5) to view information on the task execution result (fig. 6).
Note, that the Start Date, displayed on the Task Start History page (fig. 3, 4, 5), may be different from the actual task start date (fig. 6). Usually, this happens if the server had been disabled, when the trigger activated. The Start Date field displays the trigger activation date.
Fig. 2. Scheduler tasks list. "Start History" button (1), trigger name (2), task name (3), execution result (4).
Fig. 3. General task start history. Trigger name (1), task name (2), execution result (3).
Fig. 4. Start history of tasks, executed by the trigger. Task name (1), execution result (2).
Fig. 5. Task start history. Task execution result .
Fig. 6. Information on the task execution result.
Errors during scheduler task execution
If an error occurs during a scheduler task execution, which caused the trigger to interrupt its work, an error message will be displayed in the task execution result (fig. 7), and the task execution status is Execution failed.
Fig. 7. Information on the task execution result. Error message.
If a task been executed with an error, which caused the trigger to complete its work, an error message will be displayed in the task execution result (fig. 8), and the task execution status is Executed with errors.
Fig. 8. Information on the task execution result. Error message.