Scheduling jobs
Use the Scheduler to schedule a one-time job or a recurrent job for specific Replicate task operations. A job is essentially an operation that can be scheduled to occur once, daily, weekly or monthly.
The following operations can be scheduled:
- Run/Resume a task
- Stop a task
- Reload a task
- Changes to settings will only take affect after restarting all tasks.
- Compose tasks are not supported.
To schedule a new job:
- Switch to Servers view.
-
Click the Scheduler toolbar button.
The Scheduler for <server_name> window opens.
The window is divided into two tabs: Scheduled Jobs and Executed Jobs. The Scheduled Jobs tab contains a list of jobs that are scheduled to run periodically or once only while the Executed Jobs tab contains a list of jobs that have already run.
Information noteThe Executed Jobs tab will only show executed jobs that were scheduled to run once only. In other words, jobs scheduled to run periodically (e.g. Daily, Weekly, Monthly) will not be shown.
-
Click the New Scheduled Job toolbar button.
The New Scheduled Job window opens.
-
Specify a Job Name and then, from the Select scheduled job type drop-down list, select one of the following:
-
Run task to run or resume the task(s) at the scheduled time.
Information noteFor Full Load only tasks, it is preferable to select Reload target rather than Run task when the scheduling is set to Daily, Weekly or Monthly. This will update the table’s data whereas Run task will replace the existing table.
- Stop task
-
Reload target
Information noteSelecting Reload target will execute the task according to the task's replication settings. For example, if the task's Full Load and Apply Changes options are enabled, Reload target will reload the target tables and apply any subsequent changes.
-
-
Select one of the following time conventions:
-
Use server local time - When this option is selected (the default), the job will run when the specified time is reached in the server's location.
See also: Impact of DST Change on Qlik Replicate.
- Use universal time (UTC) - When this option is selected, the job will run at the specified UTC time. So, for example, if the server is located in a UTC + 2 timezone, a job scheduled to run at 13:00 UTC time will actually run at 15:00 local server time. Scheduling a job to run in UTC mode may be useful if you need tasks on several Replicate servers (located in different timezones) to run concurrently.
Information noteFor reference, both the server local time and the UTC time are displayed to the right of the Scheduled Time heading.
-
-
Select and define one of following scheduling options:
- Once (Run the job once on the specified day and at the specified time)
- Daily - (Run the job every day at the specified time)
- Weekly - (Run the job on the specified days and at the specified time)
-
Monthly - (Run the job on the specified day of the month)
Information noteTo run the job on the last day of evey month, select Last day of every month from the Day of month drop-down list.
- For the Apply to tasks option, select which tasks to schedule. Select either All tasks to apply the job to all current and future tasks or Selected tasks to apply the job to specific tasks. If you choose Selected tasks, a list of currently defined tasks is displayed. Select which tasks to apply the job to.
- Click OK to save your settings.
To enable or disable a scheduled job:
- In the Scheduled Jobs tab, select or clear the check box in the Enabled column as required.
To edit a scheduled job:
- Select the job in the Scheduled Jobs or Executed Jobs list.
- Click the Open toolbar button and edit the job as required.
To delete a scheduled job:
- Select the job in the Scheduled Jobs or Executed Jobs list.
- Click the Delete toolbar button.