1. Define a task
2. Submit from chat
show_task(...) renders a task card in chat so the user can see that work is running.
3. Show tasks on a page
4. Add a schedule
5. Add control
Task options help make background work production-shaped:retrieshandles transient failures.timeoutprevents runaway work.lockavoids duplicate work for the same key.process=Trueisolates CPU-heavy or crash-prone work.
Next steps
- Deploy the app with Deploy An App.
- See Tasks And Schedules.