change interval to check emails

This commit is contained in:
2022-10-07 09:21:02 +02:00
parent 78fcf10217
commit 8b59746ab8
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -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',