Scheduled Script Execution Form
Use the scheduled script execution form to define a scheduled job.
| Field | Description |
|---|---|
| Name | Name that identifies this scheduled job. |
| Active | Option that indicates that scheduled job is active and should be executed at the specified date and time. |
| Run | Time interval to use for running the scheduled job:
|
| Time zone | Time zone to use with the Time field
entry when you specify the time at which the scheduled job should run. Select a
time zone entry:
|
| Day | Day on which the scheduled job should run.
|
| Repeat Interval | Duration of the repeat interval for each
scheduled job execution. Enter the duration in the number of days, hours, or
minutes. For example:
These fields appear only if you select Periodically in
the Run field. 주: This setting does not account for
Daylight Saving Time changes. For example, if you select a period of one day,
the calculation adds 24 hours to the starting time of the job. If the start
time is in a Daylight Saving Time (DST) period, the job runs with a one-hour
offset when that time zone is not in DST. |
| Business Calendar | Business calendar entry that you are using to determine the business calendar start or end date for the scheduled job. This field appears only if you select Business Entry: Start Date or Business Entry: End Date in the Time field. |
| Offset Type | Type of time offset, if any, to apply to the business calendar that you selected for scheduling this job:
|
| Offset | Amount of time offset, expressed in days, hours, minutes, and
seconds, to apply to the business calendar that you selected for scheduling this
job. For example, if you want to schedule the job to start three days, 14 hours,
10 minutes, and 45 seconds before the business calendar start date, do the
following actions:
|
| Time | Time of day at which the scheduled job should run, expressed
in hours, minutes, and seconds on a 24-hour clock. The selection that you make
in the Time zone field determines the time zone for this
entry.
주:
Time values are always saved in the ServiceNow AI Platform® in UTC time and then translated into the proper
time. This translation depends on the selected Time zone
and the entry in the Time field. This field appears only if you select Daily, Weekly, or Monthly in the Run field. |
| Starting | Date and time of the first scheduled job generation. Select the calendar date and time. This field appears only if you select Periodically in the Run field. |
| Priority | Numerical priority for the scheduled job:
|
| Run as | Name of the user who is creating and running the scheduled job. To assign the scheduled job to the system instead of the person creating the scheduled job, create a system or dummy user and add it to this field. |
| Conditional | Option for enabling the running of the scheduled job if certain conditions are met in the associated script. |
| Condition | Conditional script that determines if a scheduled job should run. The last expression of the script should evaluate to a Boolean (true/false) value. This text box appears only if you select Use conditions. |
| Starting | Date and time of the first scheduled job generation. Select the calendar date and time. This field appears only if you select Periodically in the Run field. |