CronConfig: OmitStrict<CronJobEntity, "id" | "lastRun" | "errorMessage"> & {
    syncToDb: boolean;
}

The full initial configuration of a cron job.

Type declaration

  • syncToDb: boolean

    Whether or not the cron job should be synced to a database. (With status, lastRun etc.). Defaults to true.