From 6bf35485421ea986fb952862dd5f14658feff28b Mon Sep 17 00:00:00 2001 From: Doris Birkefeld Date: Wed, 7 Nov 2018 11:31:38 +0100 Subject: [PATCH] Scheduler draft --- scheduler.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scheduler.py diff --git a/scheduler.py b/scheduler.py new file mode 100644 index 0000000..71e2c1e --- /dev/null +++ b/scheduler.py @@ -0,0 +1,16 @@ +import schedule +import time + +def job(): + print("Starting whole process") + #collecting the data (requester.py) -> csv file with data + #model.py -> to be created, parameters of the pickled model should go here, to use for predictions (SVM) + #pushed through NER, output as pdf + #sent via email to telesales + + +schedule.every().day.at("10:30").do(job) + +while 1: + schedule.run_pending() + time.sleep(1) \ No newline at end of file