Administer > Policies > Scheduled Task Policies > Scheduled Task Policy User Interface > Configuring Schedules in Scheduled Task Policies

Configuring Schedules in Scheduled Task Policies

Scheduled task policies can start commands either once or according to a schedule.

To access

In the Operations Connector user interface, click Create in the toolbar, then click Event > Scheduled Task Scheduled Task. The scheduled task policy editor opens. 

Alternatively, double-click an existing scheduled task policy to edit it.

Click Schedule.

Tasks

How to configure schedules

In the Schedule page, select one of the following schedule options:

  • Once. When Once is selected, the command will be run on one specific day at the time you indicate.

    If the selected date or time occurs in the past, the command is not executed, and the Schedule tab shows a warning.

  • Once per interval. When Once per interval is selected, the command will be run once each time the interval that you indicate passes.

    Make sure the minimum value that you set is 15 seconds. If you set less than 15 seconds, the policy can be saved, but you will be notified about the wrong interval value by the scheduled policy editor.

  • Advanced. When Advanced is selected, you can indicate specific days and times when the command should be run. You select specific days of the week, specific days of the month, and specific months. This allows you to specify odd schedules such as, "On Monday when it falls on the 2nd of the month." You can also indicate that the command should only be run during a specific year.

    If you select Advanced but then do not specify a schedule, the command by default runs every minute.

To select multiple times, click the time, press Ctrl or Shift, and select additional times.

To select the entire time range, click . To delete a selected time, click .

Related tasks

UI Descriptions

Policy Schedule Page

UI Element

Description

Clears the selection.

Select All. Selects all units of time.

Scheduling Options

The following options are available:

  • Once. When Once is selected, the command runs on one specific day at the time you indicate.

    If the selected date or time occurs in the past, the command is not executed, and the Schedule tab shows a warning.

  • Once per interval. When Once per interval is selected, the command runs once each time the interval that you indicate passes.

    Make sure the minimum value that you set is 15 seconds. If you set less than 15 seconds, the policy can be saved, but you will be notified about the wrong interval value by the scheduled policy editor.

  • Advanced. When Advanced is selected, you can indicate specific days and times when the command should be run. You select specific days of the week, specific days of the month, and specific months. This allows you to specify odd schedules such as, "On Monday when it falls on the 2nd of the month." You can also indicate that the command should only be run during a specific year.

    If you select Advanced but then do not specify a schedule, the command by default runs every minute.

Once
Set to current time Selects the current time in the schedule.
Minute of Hour 0 to 59 minutes.
Hours of Day 1 to 12 AM and 1 to 12 PM.
Date: <> Date when the command should run. Click the calendar icon to open a calendar view for the current month.
Once per interval
Interval:
<> d <> h <> m <> s
Interval in days, hours, minutes, and seconds. The interval must be bigger than 0 seconds.
Advanced (daily execution)
Minute of Hour 0 to 59 minutes.
Hours of Day 1 to 12 AM and 1 to 12 PM.
Days of Month 1 to 31 days of the month.
Months of Year Months from January to December.
Days of Week Days of the week from Sunday to Saturday.
Restrict schedule to the year Select to schedule the task for the specified year only.