Schedules

Applies To: Opalis 6.3

Schedules enable you to define times when Policies can run. For example, there may be times when it is inappropriate to run some Policies, such as running a backup Policy on a main server during regular business hours. You can use Schedules to enforce optimal use of your IT infrastructure resources.

You can also create a schedule that will run according to a complex interval, such as the first and third Mondays and Thursdays of every month, except when they fall on holidays.

To use a Schedule, create one according to the instructions below. Then, in your Policy, insert the See Monitor Date/Time. object as the first object and configure how often it should start the Policy. Then insert a See Check Schedule. object. Configure the Check Schedule object to verify the Schedule that you created. The Monitor Date/Time object starts according to its configured interval and passes the Policy execution to the Check Schedule object. The Check Schedule object verifies that the Policy is allowed to run at the current time.

If the Policy is permitted to run at that time, the Check Schedule object returns a Published Data value of “True.” It passes the Policy execution to the next object if there is a link to the next object with a trigger condition of Conforms to schedule from Check Schedule equals true. If the Policy is not permitted to run at that time, the Check Schedule object returns a Published Data value of “False”. It passes the Policy execution to the next object if there is a link to the next object with a trigger condition of Conforms to schedule from Check Schedule equals false. This is useful when you want to implement conditional link branches according to the results of the Schedule verification.

If your Policy does not use conditional link branches, or if you do not want to process any of your Policy if the Schedule does not permit it, you can assign a Schedule directly to a Policy. See Policies, Start Times and Uninterrupted Processing.

Using System Time

Schedules use the system clock of the operating system on the computer that runs the Action Server, and not Coordinated Universal Time (UTC), to verify the Policy’s launch time. This enables Schedules to function in virtual machine environments, and to continue running even when the system clock is adjusted because of the move into or out of Daylight Savings Time. However, if a Policy is scheduled to start during an hour that is skipped when the system clock is adjusted forwards by one hour, that starting time is skipped, and the Policy starts at the next scheduled time. If a Policy is scheduled to start during an hour that occurs twice because the system clock is adjusted backwards by one hour, the Policy launches twice.

Warning

If you are upgrading from Opalis Integration Server 5.3 or earlier, the change in how Schedules verify time may impact your policies. Confirm the settings on all Schedules that you created in Opalis Integration Server 5.3 or earlier, to be sure that they work correctly in the new version. For example, if you created a Schedule in Opalis Integration Server 5.3 that allowed a Policy to run between 9:00 a.m. and 5:00 p.m., that Schedule may appear in the current version of Opalis Integration Server as 10:00 a.m. and 6:00 p.m., especially if your time zone is set to Daylight Savings Time.

Policies, Start Times, and Uninterrupted Processing

Policies that start before a prohibited time will run until finished, even if they are still processing when the prohibited time arrives. They will not be interrupted once processing has started.

To create a Schedule

  1. Right-click the Schedules folder or a sub-folder of the Schedules folder, point to New and then click Schedule. The New Schedule dialog appears.

  2. On the General tab, type a Name for the Schedule.

  3. Type a Description that describes or explains the purpose of the Schedule.

  4. Click the Details tab. Select the days that this Schedule will allow Policies to run:

    Days of week - Select this option and choose the days of the week when this Schedule will allow Policies to run.

    Occurrence - Select the weeks of the month when the Schedule will allow Policies to run.

    Days of month - Select this option and choose the days of the month when this Schedule will allow Policies to run. Specify the days of the month by entering the number of the day. You can use hyphens to describe ranges and commas to separate entries. For example, typing 1,3 will include the first and third day of the month. Typing 1-21 will include the first through to the twenty-first day of the month. You can combine both to create complex descriptions of the days of the month. Type all to specify all the days of the month. Type last to specify the last day of the month.

    You cannot use all and last as part of a range of days. Additionally, if you typed a range of 5-31, this range works correctly for all months, including those with 28, 29, 30, and 31 days.

  5. Click Hours. The Schedule Hours dialog appears.

  6. Click and drag to select a group of hours in a week. The text at the bottom of the dialog shows the time period that you selected. Then select one of the following:

    Permit (blue) - assigns the time period that you selected as a time when Policies are allowed to run.

    Deny (white) - assign the time period that you selected as a time when Policies are not allowed to run.

  7. Click OK.

  8. Click the Exceptions tab. The list displays all the days that are exceptions to the rules defined in the Details tab.

  9. Click Add. The Date dialog appears.

  10. Specify the date and select Allow or Disallow to allow or disallow the Policy to run on that day, and then click OK. The entry appears in the list.

  11. To modify an Exception, select it and then click Modify. To remove the Exception entry, select it and click Remove.

  12. To modify a Schedule, double-click the Schedule.

    To remove a Schedule, right-click the Schedule and then select Delete.

  13. Click Finish.

To assign a Schedule to a Policy

  1. Right-click the Policy tab, and then click Properties. The Policy Properties dialog appears.

  2. On the General tab, click the ellipsis (...) button. The Select a Schedule dialog appears.

  3. Select the Schedule that you want to apply to the Policy, and then click OK.

  4. Click Finish.

    Every time the Policy is launched, it will check the Schedule to verify that it is allowed to run. If it is not allowed to run, it will stop and will not restart until the next time it is launched.

To remove a Schedule from a Policy

  1. Right-click the Policy tab, and then click Properties. The Policy Properties dialog appears.

  2. On the General tab, click the ellipsis (...) button. The Select a Schedule dialog appears.

  3. Do not select a Schedule. Click OK.

  4. Click Finish. The Schedule is removed from the Policy.