2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-28 04:05:12 +00:00
frappe_docker/build/common/commands/background.py
Chinmay D. Pai 884a82d814
fix: make semantic changes to commands
* add missing __main__ call to commands.py
* remove unnecessary imports
* fix backup WITH_FILES logic
* follow python semantics (?)

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-29 01:45:59 +05:30

12 lines
188 B
Python

from frappe.utils.scheduler import start_scheduler
def main():
print("Starting background scheduler . . .")
start_scheduler()
exit(0)
if __name__ == "__main__":
main()