Scheduler

The Scheduler in Adeptia Connect manages events and triggers Process Flows based on the occurrence of events. When the Kernel starts in a clustered or non-clustered environment, the Quartz Scheduler by default starts Running. You can however change this default behavior as per your requirement. You can configure and decide if the the Quartz Scheduler will start, pause, or stop upon Kernel startup by configuring the relevant property in server-configure.properties file. Follow the steps below to configure the property:

  1. Click Account > Settings.
  2. Expand the Server Node Settings in the left panel.
  3. Select the server node.
  4. Click Edit.
  5. Expand Services, and then Event.
  6. In the Value field for the property abpm.event.quartz.status.onkernelbootup, enter a value.

    The possible values for this property are Start, Pause, and Stop. The default value is Start.
  7. Click Save.
  8. Restart the server.

It may also be required to pause or stop the Quartz Scheduler manually for system performance or maintenance reasons. When the scheduler is Paused or Stopped, no scheduler supported Event will be fired.

Only an Admin user can access the Scheduler page.

Events 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

  1. Log in to Adeptia Connect.
  2. Click Account and select Maintenance.
  3. 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 state 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.
  4. To view an event, click the View link against the required event. The properties of the event are displayed.
  5. To stop the Scheduler, click Stop Scheduler. The Scheduler status changes to 'Scheduler is stopped'. 
  6. To start the Scheduler, click Start Scheduler. The Scheduler status changes to 'Scheduler is paused'. To get the Scheduler in running state, click Resume Scheduler.
  7. To pause the Scheduler, click Pause Scheduler. The Scheduler status changes to 'Scheduler is paused'. To resume the Scheduler, click Resume Scheduler.

    When the Scheduler is Stopped or Paused, the list of activated events is not displayed and they cannot be activated or deactivated.