2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-26 08:38:25 +00:00

8 lines
158 B
Python
Raw Normal View History

2020-02-10 13:30:54 +05:30
import os, frappe
from frappe.utils.background_jobs import start_worker
queue = os.environ.get("WORKER_TYPE", "default")
start_worker(queue, False)
exit(0)