> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getlark.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Scheduled runs

> Run workflows on a recurring schedule.

## Setting a schedule

You can schedule any workflow to run on a recurring basis from the [dashboard](https://dashboard.getlark.ai/workflows) or API.

<img src="https://mintcdn.com/lark/dzcEV4wLHRMyRiPz/images/schedule_editor.png?fit=max&auto=format&n=dzcEV4wLHRMyRiPz&q=85&s=502b07186b489f45ebd83b82bbfdc58e" alt="Screenshot showing the schedule editor in dashboard." style={{ borderRadius: '0.5rem', maxWidth: '400px', height: 'auto'}} width="1367" height="846" data-path="images/schedule_editor.png" />

You can also update the schedule through the API:

```bash theme={null}
curl -X PUT https://api.getlark.ai/workflows/wf_abc123 \
  -H "X-API-Key: $GETLARK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"schedule": "0 9 * * *"}'
```

Learn more about configuring alerts in [Slack](/slack).
