Scheduling Automated Tasks


Version Notes: CMS 10.6

Automated Tasks Module v1.42 relies on the OAuth feature added in Ingeniux CMS 10.6. If your organization uses a version earlier than Ingeniux CMS 10.6, you must install a version of the Automated Tasks Module earlier than v1.42.

To schedule automated tasks:

  1. On the Tasks tab, click New Task. (The other buttons, Open Task and Remove Tasks, open a saved task from the list or remove it, respectively.)

    Automated Tasks: New Task

  2. Configure the following fields:
    1. Task Name: A friendly name for the automated task.
    2. Task URL: The path to the controller where the task is located. This controller must be stored in a child folder of xml\Custom.
    3. Execution User or Client: The Client Id generated in the OAuth Identities Configuration area of CMS 10.6. See Configuring OAuth Identities for details about configuring OAuth authorization.
      Version Notes: CMS 10.5
      For customers using CMS 10.5 and earlier, provide an Execution User name (domain\username), who is setting the task. Consider creating a local user in the CMS without a password. This user must be added to the Administrators group. This user only serves to execute automated tasks, so it is easy to find this user's activity in the CSAPI logs.
    4. Client Secret: A shared secret known to both the Automated Task Configuration Application and the authorizing CMS 10.6 instance. See Configuring OAuth Identities for details about configuring OAuth authorization and copying the client secret for use in this field.
      Version Notes: CMS 10.5
      This field is not present in CMS 10.5 and earlier.
    5. Execution Starting Date: The date on which the task will begin executing.
    6. Execution Time: The time at which the task will begin executing.
    7. Execution Cycle: How often the task executes. Can be set in minutes, hours, days, or weeks.
    8. Script Timeout: If the task takes longer to complete than this time value, the task times out. The default value is 60 minutes.
  3. Select the Execute task immediately after service restart ... option if you want the configured task to execute after a restart if the application were to miss a scheduled task cycle.
  4. Click Save.
    Windows Explorer opens.
  5. Select a location to save the automated task configuration file.
  6. Click Save again.
    The task displays on the list at the top of the application.