Scroll to navigation

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

Unique ID for the recurring scheduled job
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 (path to file, or base64 encoded recipe string)
Recipe parameter in KEY=VALUE format (can be specified multiple times)
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