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