Introduction

For a time-based execution of a workflow, Corporate Memory provides the Scheduler operator. Please note that, in case you want to schedule workflows externally, cmemc can be used for that.

Create your first scheduler

  1. Press the Add button in the Others category of your workspace and select the type Scheduler.


  2. Set the properties of the Scheduler
    1. Define a name of your scheduler.
      Example: Scheduler_Daily_4pm_Build_Product_Graph

    2. Define the workflow (task) to be executed.
      Example: Workflow_Build_Product_Graph

    3. Define the interval for the scheduler to be executed again.
      Example: P1D (once per day)

    4. Define the start time for the scheduler to be executed for the first time.
       


Once you save your scheduler by clicking the OK button, you are done. Now, the scheduler will be executed with the given settings.

It is possible to deactivate a scheduler by changing the enabled parameter to false.


Alternative Time duration

The scheduler interval conforms to the ISO-8601 time duration format.

The following values are possible:

  • P is the duration designator (referred to as "period"), and is always placed at the beginning of the duration.
  • Y for defining the number of years.
  • M for defining the number of months.
  • W for defining the number of weeks.
  • D for defining the  number of days.
  • T is the time designator that precedes the time components.
  • H for defining the number of hours.
  • M for defining the number of minutes.
  • S for defining the number of seconds.

A duration with all values being used: 

P2Y6M4DT12H30M10S

(A period of 2 years, 6 months, 4 days, 12 hours, 30 minutes and 10 seconds)