Create Scheduled Task
coolify_create_scheduled_taskSchedule a recurring cron task on a Coolify application or service using a shell command and cron expression.
Instructions
Add a cron task to an application or service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Task name | |
| uuid | Yes | Resource UUID | |
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| command | Yes | Shell command to run | |
| instance | Yes | REQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident. | |
| resource | Yes | Resource type that owns the scheduled task | |
| container | No | Container name to run the command in (for compose apps) | |
| frequency | Yes | Cron expression (e.g. '0 * * * *' for hourly) | |
| is_enabled | No | Whether the task is active (default: true) |