Type Alias ScheduleCalendar

An event specification relative to the calendar, similar to a traditional cron specification.

type ScheduleCalendar = {
    comment: string;
    dayOfMonth: ScheduleRange[];
    dayOfWeek: ScheduleRange[];
    hour: ScheduleRange[];
    minute: ScheduleRange[];
    month: ScheduleRange[];
    second: ScheduleRange[];
    year: ScheduleRange[];
}
Index

Properties

comment: string

Description of the intention of this schedule

dayOfMonth: ScheduleRange[]

DayOfMonth range to match (1-31). Default matches all days

dayOfWeek: ScheduleRange[]

DayOfWeek range to match (0-6; 0 is Sunday). Default matches all days of the week

Hour range to match (0-23). Default matches 0

minute: ScheduleRange[]

Minute range to match (0-59). Default matches 0

month: ScheduleRange[]

Month range to match (1-12). Default matches all months

second: ScheduleRange[]

Second range to match (0-59). Default matches 0

Year range to match. Default matches all years