Interface TimerCriteria

The detail definition of TimerCriteria

interface TimerCriteria {
    firstScheduleDate: string;
    intervalUnit?: "Month" | "Day";
    periodType?: string;
    scheduleInterval?: number;
    scheduleMode?: scheduleMode;
}

Properties

firstScheduleDate: string

First execution time after splicing.

intervalUnit?: "Month" | "Day"

The interval period unit is month, day; if intervalUnit is day and scheduleInterval is 7 means by week.

periodType?: string

when intervalUnit is month, last 1-31; when intervalUnit is week, 1-7.

scheduleInterval?: number

Interval period length

scheduleMode?: scheduleMode

Execution times: 1 once execution, 2 periodic execution.