frappe-tweaks-async-tasks
Installation
SKILL.md
Async Tasks Expert
Expert guidance for the Frappe Tweaks Async Task system — a managed, observable alternative to raw frappe.enqueue.
When to Use Async Tasks vs frappe.enqueue
| Concern | frappe.enqueue |
Async Tasks |
|---|---|---|
| Observability | No built-in log | Full log: status, timing, errors, memory |
| Concurrency control | None | Per-method concurrency_limit |
| Priority ordering | None | Per-method priority + per-task at_front |
| Cancellation | Cannot cancel | Cancel from UI or code |
| Server Script support | No | Yes (call_whitelisted_function=True) |
| Deduplication | Optional (job_id) |
Via dispatcher deduplication |
| Auto-retry on failure | No | Yes (max_retries + retry_delay) |