Skip to content

Commit

Permalink
fix: send event fee notification task triggers on minute (#6777)
Browse files Browse the repository at this point in the history
  • Loading branch information
codedsun authored and iamareebjamal committed Jan 23, 2020
1 parent cc5752d commit 979dd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/helpers/scheduled_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def send_monthly_event_invoice():
def setup_scheduled_task(sender, **kwargs):
from celery.schedules import crontab
sender.add_periodic_task(crontab(hour='*/5', minute=30), send_after_event_mail)
sender.add_periodic_task(crontab(day_of_week='0-6'), send_event_fee_notification)
sender.add_periodic_task(crontab(minute=0, hour=0), send_event_fee_notification)
sender.add_periodic_task(crontab(minute=0, hour=0, day_of_month=1), send_event_fee_notification_followup)
sender.add_periodic_task(crontab(hour='*/5', minute=30), change_session_state_on_event_completion)
sender.add_periodic_task(crontab(minute='*/45'), expire_pending_tickets)
Expand Down

0 comments on commit 979dd45

Please sign in to comment.