An array of RecurringFrequency
objects. This is used for any kronos task schedules.
Recurring frequency objects describe complex recurring logic that are usually not supported by cron.
This design is probably a super set of CRON.
Event recurs in multiples of every
unit
s. Defaults to 1.
Value must be greater or equal to 1
The unit of measurement for every
. Defaults to day
.
The number of times for this recurring frequency before it ends. Count is based on the start_on
. Defaults to repeat infinitely.
Value must be greater or equal to 1
For unit = hour
, this is the minute
of the hour for the event to recur. Required for unit = hour
. Defaults to 0
.
Value must be greater or equal to 0
and lesser or equal to 59
For unit
is one of {day, week, month, year}
, this is the time
of the day for the event to recur. Required for unit
in {day, week, month, year}
. Defaults to 09:00
.
For unit = week
, this is the day
of the week for the event to recur. Required for unit = week
. Defaults to mon
.
For unit = month
, this is the day
of the month for the event to recur. For certain days that do not occur every month (e.g., 31), it will fallback to the last day of the month (e.g., Feb 28). Required for unit = month
. Defaults to 1
.
Value must be greater or equal to 1
and lesser or equal to 31
For unit = year
, this is the day
of the year for the event to recur. For certain days that do not occur every month (e.g., 02/29), it will fallback to the closest equivalent (e.g., 02/28). Required for unit = year
. Defaults to 1/1
.
^(01|02|03|04|05|06|07|08|09|10|11|12)\/(01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31)$
If true
, the event will start from the trigger time. If false
, the event will start from the next recurring time. Defaults to false
.