Block
Available
Pro
Scheduled jobs and rate limiting
- Version
- 0.1.0
- Database part
- Yes
The contract
Takes a job or a route and its limits. Runs on time, checks authority, and slows abuse.
Settings
| Name | What it does |
|---|---|
| cronSecretNames | Other names for the scheduler's current and previous secrets. Defaults to LOVABLE_CRON_SECRET and LOVABLE_CRON_SECRET_PREVIOUS. |
| trustedAddressHeader | The one header the host sets to the caller's address. Defaults to cf-connecting-ip. |
| whenUnavailable | Refuse or allow when a count cannot be read. Defaults to refuse. |
| keepRunDays | How many days of finished runs the daily tidy up keeps. Defaults to 90. |
Requires
Live demo
A nightly job
Run the job, then try it failing or never reporting back.
Health for an hourly job Has not run yet.
Slowing a caller
Sign in may be tried 3 times a minute from one address.
Checking the scheduler
This demo's secret is demo-scheduler-secret-0001. A real app keeps its own in a server secret.
The scheduler sends the app's secret. Anyone else is turned away.