Scheduler and Events management
- Akash Kumar Jaiswal (Unlicensed)
- Ashhad Alam
- Rohan Dhanwade (Deactivated)
The Scheduler in Adeptia Connect manages events, and triggers Process Flows based on the occurrence of events. When the Event microservice starts, the Quartz Scheduler by default starts Running. You can however change this default behavior as per your requirement. You can decide and configure if the Quartz Scheduler will be in running or in paused state when the Event microservice starts, by configuring the environment variable QUARTZ_STATUS_ONBOOTUP in the values.yaml file.
You can set the value for the QUARTZ_STATUS_ONBOOTUP environment variable as follows:
- If you want the Quartz Scheduler to be in running state when the Event microservice starts, set the value to start.
If you want the Quartz Scheduler to be in paused state when the Event microservice starts, set the value to pause.
The default value for the variable is start.
It may also be required to pause or stop the Quartz Scheduler manually. When the scheduler is paused or stopped, no Scheduler supported Event will be fired.
Events are managed by the scheduler (time-based triggers) are:
- File Event
- FTP Event
- Mail Event
- Database Event
- Timer Event
- Calendar Event
Self-driven events i.e. events that are not managed by the scheduler (action-based events) are:
- JMS Event
- HTTP Event
On the scheduler page, you can sort the triggers based on the following four parameters (column headings):
Trigger name
Trigger type
Previous fire time
Next fire type
To perform sorting on any column, click on that column heading. The sorting will be performed in ascending/descending order on that column.
An arrow next to the column name indicates if the soring is in ascending () or descending () order.
Managing the Scheduler
- Log in to Adeptia Connect.
- Click Account and select Maintenance.
Click Scheduler in the left pane.
This screen is divided into two parts. The first part displays the status of the scheduler and allows you to change the status as and when required. The second part displays a list of events that are activated (only if Scheduler is running). You can deactivate an event by clicking Deactivate against the event. This will deactivate the event and remove it from the list.The autoCleanup and autoLogCleanup events cannot be deactivated as they are generated by the system.- To view an event, click the View link against the required event. The properties of the event are displayed.
- To pause the Scheduler, click Pause Scheduler. The Scheduler status changes to 'Scheduler is paused'.
To resume the Scheduler, click Resume Scheduler. The Scheduler status changes to 'Scheduler is running'.
When the Scheduler is paused, the list of activated events is not displayed and they cannot be activated or deactivated.As you perform any of the two actions (Start/Pause) on the Scheduler, you'll see a message for the respective action as shown in the example below.
Your request to Start Scheduler has been submitted. It will take some time to reflect the changes. Please refresh after some time.