mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-25 11:20:02 +00:00
242708df0c
move common scripts to build/common
8 lines
158 B
Python
8 lines
158 B
Python
import os, frappe
|
|
from frappe.utils.background_jobs import start_worker
|
|
|
|
queue = os.environ.get("WORKER_TYPE", "default")
|
|
start_worker(queue, False)
|
|
|
|
exit(0)
|