Scheduler draft

This commit is contained in:
Doris Birkefeld 2018-11-07 11:31:38 +01:00
parent 2243a50ed0
commit 6bf3548542
1 changed files with 16 additions and 0 deletions

16
scheduler.py Normal file
View File

@ -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)