# Scheduled jobs

A step of the [Cloud application](https://gradus.kazet.blog/tree/cloud-application) tree on Gradus, in the Serving & compute area: HTTP, workers, scaling.

Page: https://gradus.kazet.blog/tree/cloud-application/step/scheduled-jobs

Run recurring work on a schedule with locking, so the same job never runs twice at once.

Usually comes after: [Background workers](https://gradus.kazet.blog/tree/cloud-application/step/background-workers).

## Prompt for your AI assistant

```
Add a scheduled job runner for recurring tasks with distributed locking so a job runs once per schedule even with multiple instances, and move one existing periodic task onto it.
```

Every step of the tree: https://gradus.kazet.blog/tree/cloud-application/llms.txt
