Cron Job

Cron job with schedule expression, timezone, and run tracking.

Report an issue
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;
}