MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

System Scheduler → Disable

AI-generated

Summary

Disable a system scheduler entry on a MikroTik router.

Inputs

  • targetId (required) — ID (*1, *2) or Name (ether1, user1) of the scheduler entry to disable
  • connectionAttempts — Number of times to try connecting; default 5
  • connectionDelay — Delay between connection attempts in seconds; default 3
  • cleanKeys — Replace hyphens and slashes with underscores in response keys; default false
  • tag — Custom tag to append to the API command; default 0 (no tag)

Output shape

JSON object with keys: resource, operation, count, data. If cleanKeys is true, response key transformations are applied.

The operation sends /system/scheduler/disable with parameter .id=<targetId> to the MikroTik API. Connection retry logic uses connectionAttempts and connectionDelay if provided. A non-zero tag appends .tag=<tag> to the parameters.

Examples

Example 1: Disable scheduler named 'backup' with tag 42

targetId: 'backup'; tag: 42

Links

Discussion