Skip to main content
Version: Next

Interface: Schedule

Cron schedule for a Job.

Properties

args?

optional args?: 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.


executorOptions?

optional executorOptions?: ExecutorOptions

Executor-specific options applied only to scheduled runs. These override or extend Job.performExecutorOptions.