Stage 1 : Transform Task Definitions Into Task Instances
Each Scheduler Task definition has a status and a configuration associated with it. These task definitions are converted into task instances based on the following rules.
-
If the task is
DISABLED
, mark the task instanceDISABLED
. -
If task frequency is
ONCE
, then enable the task instance only if the scheduled date matches the business date. -
If task frequency is
WEEKLY
, then enable the task instance only if the business date matches one of the week days selected. -
If task frequency is
MONTHLY
, then enable the task instance only if the business date matches the day of the month selected. -
If task frequency is
MONTHLY_START
, then enable the task instance only if the business date is at the start of a month. -
If task frequency is
MONTHLY_END
, then enable the task instance only if the business date is at the end of a month. -
If task frequency is
DAILY
, then enable the task instance.