edit_cron_job
Modify an existing cron job's schedule and command in cPanel using its line key, so you can update automated tasks without recreating the job.
Instructions
Edit an existing cron job
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Day of month (1-31 or *) | * |
| hour | No | Hour (0-23 or *) | * |
| month | No | Month (1-12 or *) | * |
| minute | No | Minute (0-59 or *) | 0 |
| command | Yes | Command to execute | |
| linekey | Yes | Unique line key of the cron job (from list_cron_jobs) | |
| weekday | No | Day of week (0-6, 0=Sunday, or *) | * |