import type { CrontabSchedule } from './CrontabSchedule'; export type PeriodicTask = { readonly id: number; /** * Short Description For This Task */ readonly name: string; crontab: CrontabSchedule; /** * If True, the schedule will only run the task a single time */ one_off?: boolean; /** * Datetime when the schedule should begin triggering the task to run */ start_time?: string | null; /** * Set to False to disable the schedule */ enabled?: boolean; };