update
Update an existing cronjob
conhive-agent cronjobmanager update
Description
Section titled “Description”Update a cronjob with JSON input (id, name, description)
conhive-agent cronjobmanager update [flags]
Examples
Section titled “Examples”cronjobmanager update --json '{"id":123,"name":"New name","description":"Updated desc"}'
Options
Section titled “Options” -h, --help help for update --json string JSON input (required) (with default values): { "slug": "", "name": "", "protected": false, "labels": {}, "expression": "*/10 * * * *", "disabled": false, "icon": "solar:atom-broken", "color": "#F5A623", "task": "" }
Options inherited from parent commands
Section titled “Options inherited from parent commands” -f, --log-format string Specify the logging format (options: console, json) (default "text") -l, --log-level string Define the logging level (options: trace, debug, info, warn, error, fatal, panic) (default "info") -o, --log-to-file Enable logging to a file (default true) -p, --port int32 Port to run the server on (default 5050) -w, --workdir string Set the working directory for agent operations (default: $HOME/.conhive)
SEE ALSO
Section titled “SEE ALSO”conhive-agent cronjobmanager
- Manage scheduled tasks (cron jobs)