AX2551

Configure Scheduler system jobs

Scheduler includes several built-in system jobs that you configure as part of your system setup activities. These jobs are created automatically by the system Scheduler service when it is started. These jobs control email notifications for Scheduler and other system processes, and perform periodic database cleanup.

Only admins can edit these system jobs.

  1. In the Scheduler dialog, on the Service tab, click Scheduled Jobs. The following scheduled jobs appear where the name starts with System:

    • System.SystemDataPurge
    • System.SynchronizeB2CUsers
    • System.ProcessNotification
    • System.IndexMaintenance
  2. Double-click a job to open it for editing. After you have modified the job, as needed, click Save.
    • In the Tasks section, select the task name to access the task settings, and then edit the Task Details, as necessary. See the following section for more details about the specific task settings.

    • In the Notifications section, configure the email notifications for the job, as preferred. By default, the jobs are configured to send notifications on error, however, you must specify a valid email address to receive these notifications (such as the email address of a system admin).

  3. On the Service tab, click Event Handlers, and then locate the System.SMTPMessageDelivery event in the list. Double-click the event to open the associated job (with the same name), and then configure the task settings. For more information, see Set up email delivery for Axiom Budget Planning and Performance Reporting.

The changes will apply the next time the job is run.

TIP: Admins can also access these jobs in Axiom Explorer, in \Axiom\Axiom System\Scheduler Working Folder.

If one of these jobs is removed from the schedule or deleted, you can restore it by right-clicking any system job or event handler and selecting Create system jobs and event handlers. Any unscheduled or deleted system jobs will be restored.

System job overview

The following list provides a brief description of the purpose of each job and its task settings.

SMTPMessageDelivery

Description This job enables email notifications for Scheduler jobs and other system processes, such as process management notifications. Email notifications are stored in the database until the job picks them up and sends them.
Configuration This task is not operational until you specify the name of a valid SMTP server in your environment. After you have completed the SMTP server settings, make sure to disable Test Mode so that email notifications will be sent. For more details, see Set up email delivery for Axiom Budget Planning and Performance Reporting.
Schedule This job is not a scheduled job. Instead, it uses an event handler so that the job is triggered to run whenever there are email messages ready to be sent.

ProcessNotification

Description This job enables reminder notifications for process management. These are notifications to remind users of upcoming due dates and overdue tasks.
Configuration This task does not have any editable settings.
Schedule By default, this job is set to run once per hour. You should not change the frequency of this job.

SystemDataPurge

Description This job purges old data from the system, such as old Scheduler job results, old email notifications, old temp table data, and old audit data. Run this task regularly to help keep old and unnecessary data from impacting system performance.
Configuration This task is configured to delete items that are older than a specified number of days (by default, 15 days). You can change the default settings for this task, if preferred. For more details about the task settings, see Scheduler task: Purge System Data.
Schedule By default, this job is set to run every ten minutes from midnight to 4:00 AM. The task is operational as soon as it is created by the Scheduler service, using the default settings.

SynchronizeB2CUsers

Description This job synchronizes users and properties from Authentication service.
Configuration This task is configured to synchronize users and their properties from Authentication service. This job is only active in systems with Authentication service enabled.
Schedule By default, this task is set to run on the hour. The task is operational as soon as it is created by the Scheduler service, using the default settings.

IndexMaintenance

Description This job maintains the indexes on your Axiom databases (system database and audit database). It reports the current index fragmentation and then reorganizes or rebuilds the indexes, as needed, depending on the current level of fragmentation. It also updates table statistics.
Configuration Any changes made to the SQL statements in this system job should only be made with the guidance of Axiom Support and/or your SQL database admin.
Schedule By default, this task is set to run once per day, at 5:15 AM. The task is operational as soon as it is created by the Scheduler service, using the default settings.

Email notifications for system jobs

By default, most system jobs are configured to send notifications on error, however, you must edit the job to specify a valid email address for the notifications (such as the email address of a system admin). In the Notifications section for the job, edit the email notification settings, as preferred. You cannot use the default setting of {CurrentUser.EmailAddress} because the job is run by the system and therefore does not resolve to a user email address.

NOTE: We recommend leaving the SMTPMessageDelivery job at the default notification behavior of None. If the job experiences an issue attempting to send email, it likely is unable to send you an email notification about this error.

For more information about notification settings, see Set up notifications for jobs.