schedule family creates Schedules, runs them by hand, reads their logs, enables a stopped timer, and removes them. It also records Project Schedule definitions.
Schedules describes the fields, the execution context, the host artifacts, and the error codes. Processes and schedules describes Project definitions and their Instance copies.
Choose the owner
schedule:create needs exactly one selector. The CLI refuses two selectors, no selector, --for without --project, and --no-start with --node before it sends a request.
schedule:list, schedule:show, schedule:update, and schedule:destroy take --project to work on definitions. schedule:run, schedule:logs, and schedule:enable take the UUID of an installed Schedule.
Commands
Every command accepts
--json. Output shows desired_timer_state apart from the lifecycle status, and every result includes the request ID. schedule:destroy asks for confirmation, and the default is No.
orbit schedule:create
Create one Schedule for a Node or an Instance, or record a Project Schedule definition.
The CLI checks the name, calendar, command, and timeout before it sends a request. The host Node’s
systemd-analyze calendar then accepts or refuses the calendar. A definition has no host yet, so that check runs when production preparation copies the definition.
orbit schedule:list
List the Schedules whose target Node you may address, without command text, or the definitions of one Project.orbit schedule:show
Show one Schedule with its command,desired_timer_state, last_run_at, and last_run_status, or one definition by name.
orbit schedule:update
Replace one Project Schedule definition with a complete specification. The change affects later copies only.orbit schedule:run
Start the Schedule’s service once and return at once. The timer state does not change. A failed start returnsschedule.run_failed.
orbit schedule:logs
Return the newest complete lines of the Schedule’s service journal.schedule is the UUID of an installed Schedule.
The Gateway returns at most 1 MiB and sets
truncated when that limit removed older lines.
orbit schedule:enable
Enable and start the timer of one Instance Schedule. The command is idempotent. Use it afterschedule:create --no-start, or for a copy that production preparation installed stopped. schedule is the UUID of an installed Schedule.
orbit schedule:destroy
Remove one Schedule, or one definition by name.
Destroying a definition leaves every existing Instance copy in place.
Related
processmanages long-running services. Process commands do not operate on Schedules.doctorwith--family=schedulereports Schedule drift.instance:destroyremoves every Schedule of the Instance.