Kvindo™ Cloud Docs


Language

VM Command Schedule

A Command Schedule runs a shell command inside a VM on a recurring schedule — for example a nightly cleanup or a periodic report. It is a standalone resource: attach it to one or more VMs via the VM's commandScheduleIds.

Key concepts

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

Command — the shell command executed in the VM, with a timeout in seconds

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

Enabled — toggle the action 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 action 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 4 * * *
Command spec.command Yes string (nullable) No Shell command to run inside the VM
Command timeout spec.commandTimeoutSeconds Yes integer (nullable) — seconds No The command is aborted if it runs longer than this
Examples

A nightly cleanup command; attach it to a VM via commandScheduleIds (command_schedule_ids in Terraform).

Terraform

Python SDK

kc CLI


Related pages

Resource docs

More in this section

Reference

An unhandled error has occurred. Reload 🗙