Skip to main content

Synopsis

Description

cron manages scheduled tasks that run automatically on a schedule. Cron jobs can trigger agent tasks, send notifications, sync data, or run any configured workflow. They use standard cron expression syntax for scheduling and are defined in config/cron.yml or via the API.

Subcommands

cron list

boolean
Show only enabled cron jobs.
boolean
Output as JSON array.

cron trigger <id>

Executes the cron job immediately regardless of its schedule. Useful for testing before deployment or running jobs on demand.
boolean
Output trigger result as JSON.

cron create

string
Job name (unique identifier).
string
Cron schedule expression (e.g., 0 9 * * 1-5 for weekdays at 9am).
string
Agent prompt to execute on schedule.
string
Agent to assign the scheduled task to.

Examples

Cron Expression Reference