What are Schedulers?

What are Schedulers?

The Valuekeep Integrator - SDK provides a scheduler wizard (available in the installation folder) that allows the definition of the frequency of execution to apply to a pipeline. This assistant allows the user to obtain the "string" that should be considered for that purpose in the solution (integration.config).

The definition of a scheduler is obtained through the following configuration parameters:

  1. Time: execution period, specified in hh:mm format, even allowing the definition of different intervals;
  2. Days of Month: identifies the days of the month in which it is executed (interval between 1 and 31);
  3.  Days of Week: identifies the days of the week when it is executed (interval between 1 "Sunday" and 7 "Saturday");
  4. Months: identifies the months of the year in which it is executed (interval between 1 and 12);
  5. Years: identifies the years considered as valid;
  6.  Sleep Period: identifies the time (in seconds) that the pipeline stops between each execution;
  7.  Execute After Initialization: when active, the pipeline executes as soon as the service starts regardless of being in a valid period.

Notes:

  1.  The interval definition is expressed by the "-" character. Time: 08:00-12:00;
  2.  The definition of set is expressed through the character ",". Days of Weak: 1,2,3,4,5,6,7;
  3. The definition of several intervals is expressed through the conjunction of the two previous items. Time: 08h00-12h00,14h00-20h00;
  4. The omitted parameters are considered as included in their full range, for example: when Days of Weak is not specified, it means that the execution occurs every day of the week;
  5.   Schedulers whose execution can be expressed in seconds, only require the identification of the number of seconds in their definition (see following examples).
  1. Schedulers>
  2. <Scheduler Id=”Default” ConfigStr=”20″ />
  3. <Scheduler Id=”EverySecond” ConfigStr=”1″ />
  4. <Scheduler Id=”EveryTwoSeconds” ConfigStr=”2″ />
  5. <Scheduler Id=”EveryFiveSeconds” ConfigStr=”5″ />
  6. <Scheduler Id=”EveryTenSeconds” ConfigStr=”10″ />
  7. <Scheduler Id=”EveryTwentySeconds” ConfigStr=”20″ />
  8. <Scheduler Id=”EveryMinute” ConfigStr=”60″ />
  9. <Scheduler Id=”EveryFiveMinutes” ConfigStr=”300″ />
  10. <Scheduler Id=”NightWatch” ConfigStr=”QuickStart=True; SleepPeriod=60; Time=20:00-23:59;” />
  11. </Schedulers>


    • Related Articles

    • Plugin V10 – Solutions – Schedulers

      The execution frequency for a pipeline is defined using the scheduler on the pipeline configuration. The Schedulers catalog, present on the solution made available as a base example, can be customized by including new items, by using the ...
    • How to set up the Schedulers?

      The frequency of execution of a pipeline is defined through the scheduler expressed in the configuration of the pipeline. The Schedulers catalog present in the solution available as a base example can be customized with the inclusion of new items, ...