cancel_dead_man
Removes a dead-man scheduler armed by arm_dead_man once the guarded change is confirmed good, preventing it from firing and reverting the change.
Instructions
Cancel a dead-man scheduler armed by arm_dead_man (or
automatically by set_wireless_channel/set_wireless_tx_power),
once the change it guards is confirmed good - removes it from
/system/scheduler before it can fire and revert.
name MUST be the exact "deadman-" handle arm_dead_man
returned (after["name"], or a wireless write's dead_man["name"])
by construction this can never target an unrelated scheduler entry (e.g. an admin's own "backup-daily" task).
WRITE tool, guarded: blocked entirely unless the server is running
with MIKROTIK_ALLOW_WRITE=true. Call with confirm=False (the
default) to preview what would be cancelled; call again with
confirm=True to actually cancel it. Errors clearly if name doesn't
match an armed scheduler - which can mean it already fired and
self-removed (it wasn't cancelled in time), or was already
cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||