Scheduler draft
This commit is contained in:
parent
2243a50ed0
commit
6bf3548542
|
@ -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)
|
Loading…
Reference in New Issue