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:
- Time:
execution period, specified in hh:mm format, even allowing the definition of
different intervals;
- Days of
Month: identifies the days of the month in which it is executed (interval
between 1 and 31);
- Days of
Week: identifies the days of the week when it is executed (interval between 1
"Sunday" and 7 "Saturday");
- Months:
identifies the months of the year in which it is executed (interval between 1
and 12);
- Years:
identifies the years considered as valid;
- Sleep
Period: identifies the time (in seconds) that the pipeline stops between each
execution;
- Execute
After Initialization: when active, the pipeline executes as soon as the service
starts regardless of being in a valid period.
Notes:
- The
interval definition is expressed by the "-" character. Time:
08:00-12:00;
- The
definition of set is expressed through the character ",". Days of
Weak: 1,2,3,4,5,6,7;
- The
definition of several intervals is expressed through the conjunction of the two
previous items. Time: 08h00-12h00,14h00-20h00;
- 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;
- Schedulers
whose execution can be expressed in seconds, only require the identification of
the number of seconds in their definition (see following examples).
- Schedulers>
- <Scheduler Id=”Default” ConfigStr=”20″ />
- <Scheduler Id=”EverySecond” ConfigStr=”1″ />
- <Scheduler Id=”EveryTwoSeconds” ConfigStr=”2″ />
- <Scheduler Id=”EveryFiveSeconds” ConfigStr=”5″ />
- <Scheduler Id=”EveryTenSeconds” ConfigStr=”10″ />
- <Scheduler Id=”EveryTwentySeconds” ConfigStr=”20″ />
- <Scheduler Id=”EveryMinute” ConfigStr=”60″ />
- <Scheduler Id=”EveryFiveMinutes” ConfigStr=”300″ />
- <Scheduler Id=”NightWatch” ConfigStr=”QuickStart=True; SleepPeriod=60; Time=20:00-23:59;” />
- </Schedulers>