2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-25 03:16:02 +00:00
frappe_docker/build/common/commands/background.py

11 lines
200 B
Python
Raw Normal View History

2020-02-10 08:00:54 +00:00
import frappe
from frappe.utils.scheduler import start_scheduler
def main():
print("Starting background scheduler . . .")
start_scheduler()
exit(0)
2020-02-10 08:00:54 +00:00
if __name__ == "__main__":
main()