MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

System Scheduler → Set

AI-generated

Summary

Update a system scheduler entry on the MikroTik device.

Inputs

  • targetId (required) — ID (*1, *2) or Name (ether1, user1)
  • commentText — Comment
  • schedulerStartDate — Start date (e.g. jan/01/1970 or 10:00:00)
  • schedulerStartTime — Start time (e.g. 10:00:00 or startup)
  • schedulerInterval — Interval (e.g. 1h or 00:00:00)
  • schedulerOnEvent — Event to run when scheduler triggers
  • schedulerPolicy — Comma separated policies

Output shape

The API response from /system/scheduler/set, including count and data. If cleanKeys is enabled, dashes and slashes in keys are replaced with underscores.

Non-empty parameters are included in the API call; omitted parameters default on the device.

Examples

Example 1: Set a scheduler named 'backup' to run daily at 02:00 with a 24h interval.

targetId: 'backup', schedulerStartTime: '02:00:00', schedulerInterval: '1d'

Links

Discussion