UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

20 lines (19 loc) 610 B
/** * Defines when an action will run — either once or recurring */ export interface Schedule { /** * If true, the schedule runs once (using RunAt) */ IsOneOff: boolean; /** * ISO datetime for a one-off run (local time); set when IsOneOff is true */ RunAt?: string; /** * Standard 5-field cron (minute hour day-of-month month day-of-week); e.g. weekdays at 09:30 → `30 9 * * 1-5` */ CronExpression?: string; } export type Weekdays = Weekday[]; export type Weekday = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';