change interval to check emails
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ from src.mail.mail_reader import read_mails
|
||||
|
||||
|
||||
def start_check_mail_job(sched):
|
||||
sched.add_job(read_mails, 'cron', day_of_week='mon-sat', minute='*/10', jitter=240, timezone='Europe/Paris',
|
||||
sched.add_job(read_mails, 'cron', day_of_week='mon-sat', minute='*/15', jitter=240, timezone='Europe/Paris',
|
||||
max_instances=1)
|
||||
# sched.add_job(read_mails, 'cron', day_of_week='mon-sat', hour='11',
|
||||
# minute='30',
|
||||
|
||||
Reference in New Issue
Block a user