table of contents
| add(1) | General Commands Manual | add(1) |
NAME¶
add - Add a new scheduled job
SYNOPSIS¶
add [--params] [-h|--help] <--schedule-id> <--cron> <--recipe-source>
DESCRIPTION¶
Add a new scheduled job
OPTIONS¶
- --schedule-id <SCHEDULE_ID>
- Unique ID for the recurring scheduled job
- --cron <CRON>
- Cron expression for when to run the job. Examples:
'0 * * * *' - Every hour at minute 0
'0 */2 * * *' - Every 2 hours
'@hourly' - Every hour (shorthand)
'0 9 * * *' - Every day at 9:00 AM
'0 9 * * 1' - Every Monday at 9:00 AM
'0 0 1 * *' - First day of every month at midnight - --recipe-source <RECIPE_SOURCE>
- Recipe source (path to file, or base64 encoded recipe string)
- --params <KEY=VALUE>
- Recipe parameter in KEY=VALUE format (can be specified multiple times)
- -h, --help
- Print help (see a summary with '-h')
SEE ALSO¶
goose(1), goose-schedule(1), goose-schedule-list(1), goose-schedule-remove(1), goose-schedule-sessions(1)
| add |