Interface: Schedule
Cron schedule for a Job.
Propertiesโ
args?โ
optionalargs?:object
Arguments passed to the worker function on each scheduled run.
cronโ
cron:
string
Five-field cron expression (e.g. "0 * * * *" for hourly).
Wasp supports minute-level precision.
See pg-boss's scheduling docs for the rationale. Use Crontab Guru to build cron expressions.
executorOptions?โ
optionalexecutorOptions?:ExecutorOptions
Executor-specific options applied only to scheduled runs. These override or extend Job.performExecutorOptions.