This commit is contained in:
Anne Lorenz 2018-11-07 11:52:18 +01:00
commit 5e3ff00b36
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)