edit_cron_job
Modify scheduled tasks by updating command, schedule, user, or active status for existing cron jobs on Webmin servers.
Instructions
Edit an existing cron job. Use list_cron_jobs to find the job index. Only specify the fields you want to change.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| index | Yes | Index of the job to edit (from list_cron_jobs) | |
| command | No | New command to execute | |
| minutes | No | New minutes value | |
| hours | No | New hours value | |
| days | No | New day of month value | |
| months | No | New month value | |
| weekdays | No | New day of week value | |
| user | No | New user to run as | |
| active | No | New active state |