schedule_reboot
Schedule a device reboot at a specified time. Use force to replace existing schedules, or dry-run to preview without changes.
Instructions
Schedule device reboot at a specified time.
Checks for existing reboot schedules. If one exists and force is False, the existing schedule is preserved.
Args: hostname: Target device hostname (must exist in config.ini) reboot_at: Reboot time in YYMMDDHHMM format (e.g., "2601020304" = 2026-01-02 03:04) dry_run: If True (default), show what would be done without scheduling force: If True, clear existing reboot schedule and set new one config_path: Path to config.ini (empty string uses default search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| reboot_at | Yes | ||
| dry_run | No | ||
| force | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |