Manage Scheduled Job
manage_scheduled_jobAdd, update, remove, enable, or disable RouterOS scheduler entries idempotently by name.
Instructions
Add, update, remove, enable, or disable a RouterOS scheduler entry. Idempotent by name. add throws CONFLICT if name exists; update throws NOT_FOUND if it does not. Supports dry-run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. | |
| action | Yes | Action to perform | |
| name | Yes | Job name — idempotency key | |
| onEvent | No | Script name or inline command to run (required on add) | |
| startDate | No | Start date (e.g. jan/01/2000) | |
| startTime | No | Start time (e.g. 00:00:00) | |
| interval | No | Run interval (e.g. 00:05:00 for every 5 minutes) | |
| comment | No | Optional comment | |
| dryRun | No | Preview changes without applying. |