Question
What kind of schedule settings are available for schedule jobs? For example, is it possible to set up a job as following examples?
Example 1: Execute job every Wednesday at 7:00 am.
Example 2: Execute job at 12:00 a.m. on the first business day of each month.
Answer
You can set the following values as repetition period for schedule jobs in Recurrence item of the creating/editing schedule job screen.
- Second: Recurrence period in seconds
- Minute: Recurrence period in minutes
- Hour: Recurrence period in hours
- Day: Recurrence period in days
You can set number of interval days and time when the job is executed. - Week: Recurrence period per week
You can set day of week and time when the job will be executed. - Month: Recurrence period per month
In addition to setting date of month and day of week, you can also specify the last day of month as the execution date. - Year: Recurrence period by year
It is possible to specify the day of the month and the day of the month on which the job will be executed in a yearly cycle.
The business day can be specified in Holiday Option field.
You can specify whether or not to execute the job when a execution date of the schedule job is a holiday, and can also specify execution on the previous or next business day.
For details on schedule jobs, please refer to the following manual page.
For the examples in the question, the job settings will be as follows:
Example 1: Execute job every Wednesday at 7:00 a.m.
Specify Week in Recurrence, then check Wednesday in Day of Week and set Time to 07:00.
Example 2: Execute job at 12:00 a.m. on the first business day of each month
Specify Month in Recurrence,then set Monthly occurrence to Month Days and set Day of month to 1.
After that, set Execute on the next business day in Holiday Option.
There is an official tutorial on how to utilize schedule jobs.
In conjunction with the above guidance, please also refer to the following tutorial, which is about the procedure for creating a schedule job of daily recurrence.
Set an execution schedule for a script
Supplementary information
To create a schedule job, a Calendar resource must be created as well. Please refer to the following manual pages for details on the resource.
Prepare an organization calendar
Related FAQs
The latest version of a script is not reflected in a job
Comments
0 comments
Article is closed for comments.