mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 16:05:42 +00:00
* use skills * add prompts * update system prompts * generate skills on init * add prompts in cli * better for raw apps * nit * test pipeline draft * better * yaml for triggers and schedules * cleaning * better * add descriptions to ai agent fileds * adjust * better openapi * better * nit * feat: add typed provider and memory schemas for ai agent in openapi Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * feat: improve zod validation errors with dynamic schema extraction Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * regen * fix * cleaning * refactor: deduplicate skill descriptions in generate_skills_ts_export Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * cleaning --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
47 lines
1.2 KiB
Markdown
47 lines
1.2 KiB
Markdown
# Windmill Schedules
|
|
|
|
Schedules run scripts and flows automatically on a cron schedule.
|
|
|
|
## File Naming
|
|
|
|
Schedule files use the pattern: `{path}.schedule.yaml`
|
|
|
|
Example: `f/folder/daily_sync.schedule.yaml`
|
|
|
|
Note: The path is derived from the filename, not stored in the file content.
|
|
|
|
## Cron Expression Format
|
|
|
|
Windmill uses 6-field cron expressions (includes seconds):
|
|
|
|
```
|
|
┌───────────── second (0-59)
|
|
│ ┌───────────── minute (0-59)
|
|
│ │ ┌───────────── hour (0-23)
|
|
│ │ │ ┌───────────── day of month (1-31)
|
|
│ │ │ │ ┌───────────── month (1-12 or jan-dec)
|
|
│ │ │ │ │ ┌───────────── day of week (0-6, 0=Sunday, or sun-sat)
|
|
│ │ │ │ │ │
|
|
* * * * * *
|
|
```
|
|
|
|
**Common Examples:**
|
|
- `0 0 0 * * *` - Daily at midnight
|
|
- `0 0 12 * * *` - Daily at noon
|
|
- `0 */5 * * * *` - Every 5 minutes
|
|
- `0 0 9 * * 1-5` - Weekdays at 9 AM
|
|
- `0 0 0 1 * *` - First day of each month
|
|
|
|
## CLI Commands
|
|
|
|
```bash
|
|
# Push schedules to Windmill
|
|
wmill sync push
|
|
|
|
# Pull schedules from Windmill
|
|
wmill sync pull
|
|
|
|
# List schedules
|
|
wmill schedule
|
|
```
|