dokploy_schedule
Manage cron schedules to run commands on apps, compose services, or servers.
Instructions
Manage cron schedules that run commands against applications, compose services, or servers. create: name+cronExpression+command (+ scheduleType and matching applicationId/composeId/serverId; shellType=bash|sh; script for multi-line; timezone). update: scheduleId + all fields. remove/get: scheduleId. list: id (parent id — applicationId|composeId|serverId|'dokploy-server') + scheduleType. runManually: scheduleId. scheduleType: application|compose|server|dokploy-server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Parent resource id for list action | |
| name | No | ||
| action | Yes | ||
| script | No | Optional multi-line script body | |
| appName | No | Container appName (for application/compose scope) | |
| command | No | Shell command to execute | |
| enabled | No | ||
| serverId | No | ||
| timezone | No | IANA timezone name (e.g. America/New_York) | |
| composeId | No | ||
| shellType | No | ||
| scheduleId | No | ||
| description | No | ||
| serviceName | No | Compose service name when scheduleType=compose | |
| scheduleType | No | ||
| applicationId | No | ||
| cronExpression | No | Standard cron expression (e.g. '0 3 * * *') |