A to-do list for slow automation work, handed to a free worker so the web page responds straight away.
Scheduled Workers & Sync
Professional services
Scheduled worker
Product
Local/private
2026
The problem
Rebuilding search indexes and other slow jobs time out when they run while a page loads. So jobs were started by hand on whichever computer happened to be free, and a long task blocked the next one. A failure disappeared instead of staying visible.
What it does
Each job is added to the list with a type, priority, details and an optional duplicate check, then a signal file wakes a background worker. Jobs move from waiting to picked up to done, with a count of attempts and the last error. A person can pause the list, and the procedures themselves stay separate.
Outcomes
Slow work no longer times out the page.
A failed job stays visible with its error.
Duplicate jobs collapse on the duplicate key.
The next job waits instead of stacking on a busy machine.
Simplified mockup
Interactive preview with sample data. Nothing is sent to a server.
Job queue
Queue paused. Queued jobs stay put until you resume.
Queued
4
Completed
0
Failed
0
Workers free
2
Open jobs 1 duplicate collapsed onto 1042
Job
Type
Pri
Status
Detail
1042
Embedding rebuild
20
Queued
dedupe emb-catalogue-oct
1043
Board pack render
40
Queued
24 pages, house template
1044
Address file clean
80
Queued
640 rows waiting
1045
Catalogue thumbnails
90
Queued
180 images waiting
Worker A
Idle
This pass Failure kept
Job 1042 completed. Job 1043 stays on the queue with the error. 1044 and 1045 are still waiting.
Workers
Worker A
Free
Last claim 1041, address clean, yesterday
Worker B
Free
Last claim 1038, thumbnail pass, yesterday
How a job leaves the page
The page inserts the row and returns.
The trigger file wakes a backend process.
A free worker claims the next row and records the start.
A busy machine does not take a second job on top.
Enqueue
New job The request returns before the work runs
Already collapsed
A second embedding rebuild used the same dedupe key and updated job 1042 instead of inserting another row.
How it works
Add a job with its type, details, priority and an optional duplicate check.
Return the web page at once.
Wake a worker with the signal file.
Hand the next job to a free worker and record the start.
On success, store the result. On failure, keep the error on the job.