edit_cron_job
Update an existing cron job by changing its command or schedule. Provide the line key from list_cron_jobs and specify new minute, hour, day, month, weekday, or command.
Instructions
Edit an existing cron job
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"linekey": "<linekey>",
"command": "<command>"
},
"name": "edit_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 *) | * |