Scheduler

The Scheduler is a tool to run a particular replication job or code unit automatically on a predefined schedule. Jobs can be scheduled to run at a specified date and time.

The Scheduler processes the Scheduler job according to the specified given schedule. The Scheduler checks the Next Check Date and Next Check Time fields, and processes the job with the earliest date and time, even if that date and time have passed.

In order to run a specific Scheduler job, you can assign priorities to the job to ensure that it may run ahead of other Scheduler jobs.

To run Scheduler in LS Central on the Task Scheduler

To run the Scheduler automatically, you must either have NAS to run the Scheduler or use the Task Scheduler.

The NAS cannot run in SaaS, so in that case you must use the Task Scheduler. To make the Task Scheduler run the Scheduler you must do the following:

  1. In Scheduler Setup, enable NAS Scheduler - Even though it says NAS Scheduler, you are not using the NAS Scheduler in this scenario, this triggers the Scheduler either by a job queue or by the NAS.
  2. Create a job queue entry for the Scheduler - Creating a job queue entry allows you to run the Scheduler from the job queue. Set the job to run on codeunit 99001469.
    • Set the REPEAT parameter 0 (REPEAT=0), so the heartbeat is controlled by the job queue.
      Here is an example of the parameter string:
      LSRSCHEDULER NASID,TYPEFILTER=,LOG=1, REPEAT=0.

Tip: For more information on parameters refer to codeunit 99001468.