cs-icon.svg

Scheduler by Automate

Setting up timed automations is essential for streamlining repetitive tasks. This guide walks you through using the Scheduler by Automate to configure automation triggers, define time intervals, and customize execution parameters.

Whether you are scheduling actions to run every minute, hour, or day, this guide provides clear instructions to ensure your automations are set up effectively.

Set up the Scheduler by Automate Trigger

Perform the following steps to configure the Scheduler by Automate trigger:

  1. Click Configure Trigger from the left navigation panel.
  2. Within the Configure Trigger step, click the Scheduler by Automate connector.
  3. Under the Choose Trigger tab, select the Scheduler by Automate trigger. This allows you to schedule the activation time for your trigger event.
  4. On the Scheduler by Automate Configure Trigger page, enter the details given below:
    • Time Zone: Enter a time zone. By default, Etc/UTC is selected.
    • Trigger Interval: Select the time interval unit to define the interval for scheduling the trigger. Options include Minutes, Hours, Days, Weeks, Months, and Custom (Cron).

      By default, the interval is set to Minutes.

      When the user selects Minutes Trigger Interval

      1. Select Minutes from the Trigger Interval drop-down.
      2. In the Minutes Interval field, enter the interval in minutes between each trigger.

        For example, entering 1 will schedule the trigger to run every 1 minute.

        Select_Minutes_Fields.png
      3. Optionally, enable the Show Optional Fields toggle button to view the Metadata field. Enter custom data that will be accessible during the automation process.
        Show_Optional_Fields_Mnutes.png

      When the user selects Hours Trigger Interval

      1. Select Hours from the Trigger Interval drop-down.
      2. In the Hours Interval field, enter the interval in hours between each trigger.

        For example, entering 1 will schedule the trigger to run every 1 hour.

        Select_Hours_Fields.png
      3. Optionally, enable the Show Optional Fields toggle button to view the Trigger at Minute and Metadata fields.

        In the Trigger at Minute field, enter the minute (0–59) past the hour when the trigger should run.

        In the Metadata field, provide the data to be accessed while the automation runs.

        For example, setting 6 for Hours Interval and 30 for Trigger at Minute schedules the trigger to execute every 6 hours at 30 minutes past the hour.

        Show_Optional_Fields_Hours.png

      When the user selects Days Trigger Interval

      1. Select Days from the Trigger Interval drop-down.
      2. In the Days Interval field, enter the interval in days between each trigger.

        For example, entering 1 will schedule the trigger to run every 1 day.

        Select_Days_Fields.png
      3. Optionally, enable the Show Optional Fields toggle button to view the Trigger at Hour, Trigger at Minute, and Metadata fields.

        In the Trigger at Hour field, select the hour of the day to run the trigger, i.e., 1 am, 2 am, etc. Enter the minute (0–59) past the hour when the trigger should run in the Trigger at Minute field. In the Metadata field, provide the data to be accessed while the automation runs.

        For example, setting 2 for Days Interval, 9 am for Trigger at Hour, and 15 for Trigger at Minute schedules the trigger to run every 2 days at 9:15 am.

        Show_Optional_Fields_Days.png

      When the user selects Weeks Trigger Interval

      1. Select Weeks from the Trigger Interval drop-down.
      2. In the Trigger on Day of the Week field, select the days of the week to run the trigger. You can add multiple days by clicking the + Add Trigger on Day of the Week button.

        For example, selecting Sunday will schedule the trigger to run every Sunday.

      3. Optionally, enable the Show Optional Fields toggle button to view the Trigger at Hour, Trigger at Minute, and Metadata fields.

        In the Trigger at Hour field, select the hour of the day to run the trigger, i.e., 1 am, 2 am, etc. Enter the minute (0–59) past the hour when the trigger should run in the Trigger at Minute field. In the Metadata field, provide the data to be accessed while the automation runs.

        For example, selecting Monday for Trigger on Day of Week, 3 pm for Trigger at Hour, and 30 for Trigger at Minute schedules the trigger to run weekly on Mondays at 3:30 pm.

        Show_Optional_Fields_Weeks.png

      When the user selects Months Trigger Interval

      1. Select Months from the Trigger Interval drop-down.
      2. In the Months Interval field, enter the interval in months for the trigger.

        For example, entering 1 will schedule the trigger to run every 1 month.

        Select_Months_Field.png
      3. Optionally, enable the Show Optional Fields toggle button to view the Trigger at Day of Month, Trigger at Hour, Trigger at Minute, and Metadata fields.

        In the Trigger at Day of Month field, enter the day of the month (1–31) for the trigger. If the day does not exist in a month, the trigger will not run (for example, 30 will not run in February).

        In the Trigger at Hour field, select the hour of the day to run the trigger, i.e., 1 am, 2 am, etc.

        Enter the minute (0–59) past the hour when the trigger should run in the Trigger at Minute field.

        In the Metadata field, provide the data to be accessed while the automation runs.

        For example, setting 3 for Months Interval, 28 for Trigger at Day of Month, 9 am for Trigger at Hour, and 0 for Trigger at Minute schedules the trigger to run every 3 months on the 28th day at 9:00 am.

        Show_Optional_Fields_months.png

      When the user selects Custom (Cron) Trigger Interval

      1. Unix Cron Format: 0 */6 * * * (this means the trigger event is to be activated every 6 hours). For examples on Unix Cron format values, check the Crontab guru | Cron Examples page.

        Refer the below table for more details on the Unix Cron format:

        Cron FormatField NameAllowed Names
        *****minute0-59
        *****hour0-23
        *****day of month1-31
        *****monthThe months of the year can be represented numerically from 1 to 12, where 1 is January, 2 is February, and so on. They can also be represented as three-character strings in uppercase, lowercase, or mixed-case formats based on their English names: JAN, jan, Jan; FEB, feb, Feb, etc.
        *****day of weekThe days of the week can be represented numerically from 0 to 7, where 0 or 7 is Sunday, 1 is Monday, and so on. They can also be represented as three-character strings in uppercase, lowercase, or mixed-case formats based on their English names: MON, mon, Mon; TUE, tue, Tue, etc.

        Additional Resource: For more information, refer to the Cron job format and time zone document.

        Select_Cron_Fields.png
      2. Optionally, enable the Show Optional Fields toggle button, to display the Metadata field. Metadata can be utilized during the execution of automation.
        Show_Optional_Fields_Cron.png
  5. Click the Proceed button.
  6. Click the Test Trigger button to test the configured trigger.
    Test_Trigger.png
  7. Click the Save and Exit button.
    Save_Exit_Button.png

Note: After configuring the trigger, reconfiguring another trigger will prompt you to revert to the previous trigger configuration. You can restore the last configuration by clicking the Revert Changes button.

This sets up your Scheduler by Automate trigger.

Was this article helpful?
^