Kvindo™ Cloud Docs


Language

On/Off Schedule

A VM On/Off Schedule powers a VM on or off on a recurring schedule — for example, stopping development VMs every evening and starting them each morning to save costs. It is a standalone resource: attach it to one or more VMs via the VM's onOffScheduleIds.

Key concepts

Schedule — a cron expression (e.g. 0 20 * * * = daily at 20:00) plus its format

Target state — what happens when the schedule fires: running powers the VM on, stopped powers it off. Use two schedules (one running, one stopped) for a working-hours window

Attachment — reference it from one or more VMs' onOffScheduleIds; the schedule itself has no target VM field

Enabled — toggle the schedule on or off without deleting it

Parameters
UI Name API / kc name Terraform name Optional Format Default Is read only Description
Enabled spec.enabled Yes boolean (nullable) No Whether the schedule is active
Schedule Format spec.scheduleFormat Yes string (nullable) cron No Format of the schedule expression
Schedule spec.schedule Yes string (nullable) No The schedule expression, e.g. cron 0 20 * * *
Target state spec.targetState Yes string — running/stopped No Power the VM on or off when the schedule fires
Examples

An evening auto-stop schedule; attach it to a VM via onOffScheduleIds (on_off_schedule_ids in Terraform).

Terraform

Python SDK

kc CLI


Related pages

Resource docs

More in this section

Reference

An unhandled error has occurred. Reload 🗙