schedule_create
Create or update a scheduled task for a SCOUT workflow, generating a platform-appropriate run script and registering it with the OS task scheduler.
Instructions
Create or update a scheduled task for an exported SCOUT workflow.
Generates a platform-appropriate run script and registers the schedule with the OS task scheduler (Windows Task Scheduler, macOS launchd, or Linux cron).
Args: name: Workflow name. Must match .py inside workflow_dir. workflow_dir: Absolute path to the workflow directory (e.g., 'D:/Projects/app/workflows/enrollment'). schedule: Frequency — one of DAILY, WEEKLY, ONCE. time: Time to run in HH:MM 24-hour format (e.g., '06:45', '14:00'). days: Comma-separated day names for WEEKLY schedules (e.g., 'MON,WED,FRI'). Required when schedule is WEEKLY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workflow_dir | Yes | ||
| schedule | Yes | ||
| time | Yes | ||
| days | No |