ScheduleTaskInput
interfaceFields accepted by task for a scheduled task.
Import
import { ScheduleTaskInput } from '@modular/sdk';Members5
- catchUpoptional
'latest' | 'none'What to do about slots missed while the host was closed. `'latest'` (the default) runs once for the most recent missed slot on the next launch; `'none'` skips missed slots.
- id
stringIdentifier, unique within the mod.
- run
TaskHandler<undefined>- schedule
stringWhen to run: a five-field cron expression (`'0 9 * * *'`) or one of the friendly forms — `'daily HH:MM'`, `'hourly'`, `'weekly <day> HH:MM'`, `'every <N>m'`, `'every <N>h'`.
- titleoptional
stringLabel shown where the host lists scheduled work.