CLI command
fleetdeck touch-schedule
Create a recurring or one-time touch schedule.
Usage
bash
fleetdeck touch-schedule DEVICE JSONExample
fleetdeck touch-schedule device_123 '{"name":"Morning","sequenceId":"seq_123","cron":"0 9 * * 1-5","timezone":"Europe/Bratislava","confirmed":true}'Arguments
This command takes no positional arguments.
Supply FLEETDECK_API_KEY through the environment. See environment configuration.
Behavior
- Requires jobs:write and devices:control. JSON follows TouchScheduleInput: exactly one of cron or runAt, an IANA timezone and confirmed:true.
- The schedule belongs to the user and keeps running after the key is revoked; delete it explicitly.
Output and exit
Writes formatted JSON to stdout. Errors are one JSON object on stderr.
See all exit codes and error recovery.
