optimization on email reader
This commit is contained in:
@@ -5,10 +5,6 @@ from src.mail.mail_reader import read_mails
|
||||
|
||||
|
||||
def start_check_mail_job(sched):
|
||||
# sched.add_job(start_book_appointment, 'cron', day_of_week='mon-sat', hour='10',
|
||||
# minute='30',
|
||||
# misfire_grace_time=10,
|
||||
# second='0', timezone='Europe/Paris', max_instances=1)
|
||||
sched.add_job(read_mails, 'cron', day_of_week='mon-sat', hour='11',
|
||||
minute='30',
|
||||
misfire_grace_time=10,
|
||||
|
||||
Reference in New Issue
Block a user