Scheduling a Process for Automatic Execution with Chores

You can execute processes on demand and you can create a chore to execute processes at defined intervals. These two methods of execution are not mutually exclusive. You can execute any process on demand at any time, even if the process is scheduled for automatic execution as a chore.

A chore is the TM1® object that executes one or more processes at a user-defined frequency. A chore is comprised of:

  • A list of processes to be executed.
  • A start date and time for the initial execution of the chore.
  • A frequency at which the chore is subsequently executed.

Once defined, chores can be activated and deactivated as required.

Access to chores functionality is controlled by user group security privileges. You must be a member of the ADMIN or DataAdmin group to create chores on a server. Users must have Read privilege to a chore to be able to view the chore in the Server Explorer and to manually execute the chore.

You can schedule a process for automatic execution as a chore from within TurboIntegrator.

Procedure

  1. Click the Schedule tab in the TurboIntegrator window.
  2. Select the Schedule this Process as a Chore Named option.
  3. Enter a name for the process in the adjacent field. By default TurboIntegrator assigns the name of the process to the chore.
  4. Click a date on the calendar to specify a start date for the initial execution of the chore.
  5. Enter a Time to specify the start time for the initial execution of the chore.
  6. Set the fields in the Chore Execution Frequency box to define the interval at which the chore is executed.
  7. Select a Run Chore Time option.
    • Local Server Time - Runs at the local server time, including during Daylight Saving Time/Summer Time periods.
    • UTC Time - Always runs at UTC, regardless of local Daylight Saving Time/Summer Time.
  8. Choose File, Save to save the process with the scheduling information.

    When you schedule a process from within TurboIntegrator, the chore is automatically activated and will be executed at the specified start time.

    You can also create a chore for a process (or a collection of processes) directly from the Server Explorer.

  9. In the Server Explorer, select the Chores icon beneath the server on which you want to create the chore.
  10. Choose Chores, Create New Chore.

    The Chore Setup Wizard opens.

  11. In the Available list, select the process for which you want to create a chore.
  12. Click the right arrow icon.
  13. Click Next.
  14. Click a date on the calendar to specify a start date for the initial execution of the chore.
  15. Enter a time to specify the start time for the initial execution of the chore.
  16. Set the fields in the Chore Execution Frequency box to define the interval at which the chore is executed.
  17. Select a Run Chore Time option.
    • Local Server Time - Runs at the local server time, including during Daylight Saving Time/Summer Time periods.
    • UTC Time - Always runs at UTC, regardless of local Daylight Saving Time/Summer Time.
  18. Fill the Chore Schedule is Active box.
  19. Click Finish.

    The Save Chore As dialog box opens.

  20. Enter a name for the chore and click Save.