Cron Job
Cron job with schedule expression, timezone, and run tracking.
infrastructure
Install
$ npx shadcn@latest add @open-types/cron-job
Source
export interface CronSchedule {
expression: string;
timezone?: string;
}
export interface CronJob {
name: string;
schedule: CronSchedule;
command?: string;
enabled: boolean;
last_run?: string;
next_run?: string;
}
export interface CronSchedule {
expression: string;
timezone?: string;
}
export interface CronJob {
name: string;
schedule: CronSchedule;
command?: string;
enabled: boolean;
last_run?: string;
next_run?: string;
}