A Schedule contains instructions for starting a workflow run at specific times you provide.

Procedure

  1. Log in to the VMware Telco Cloud Automation.
  2. Click Workflow Hub > Workflows.
  3. Click the vertical ellipse corresponding to the workflow that you want to run and click Schedule.
  4. In the Schedule Run window, enter the schedule name .
  5. Provide the input for the scheduled runs.
  6. Click Next.
  7. Select one of the following schedule types:
    • Calendar: You can schedule the workflow execution for specific days of the week, for example, every Monday or specific days of the month, for example 5th day of every month. You can select one month, specific months, or all the twelve months to run the workflow based on your requirement.
    • Interval: You can schedule the workflow execution at regular intervals. For example, every 3 days. However, the interval at which the workflow runs is based on the Unix epoch time (1 January, 1970 00:00:00). Therefore, the schedule is first triggered at the next interval after the start time that aligns with the recurring intervals since the Unix epoch time.
    • Cron String: You can trigger the workflow execution based on the schedule specified in the cron string. The cron string has a minimum of 5 fields and a maximum of 7 fields, separated by spaces. The number of fields specifies the following:
      • 5 fields: Minute, Hour, DayOfMonth, Month, DayOfWeek
      • 6 fields: Minute, Hour, DayOfMonth, Month, DayOfWeek, Year
      • 7 fields: Second, Minute, Hour, DayOfMonth, Month, DayOfWeek, Year

      The following is a sample cron string to run the workflow every hour.

      "0 * * * *"
  8. Select a time zone.
    Based on the time zone you select, the schedule is created. The Time Zone field is editable for Calendar and Cron String, and the default value is GMT (UTC). However, if you select Interval, the default value remains GMT (UTC), but it is not editable.
  9. Click Schedule.