Skip to content

Commit 979dd45

Browse files
codedsuniamareebjamal
authored andcommitted
fix: send event fee notification task triggers on minute (#6777)
1 parent cc5752d commit 979dd45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/helpers/scheduled_jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def send_monthly_event_invoice():
226226
def setup_scheduled_task(sender, **kwargs):
227227
from celery.schedules import crontab
228228
sender.add_periodic_task(crontab(hour='*/5', minute=30), send_after_event_mail)
229-
sender.add_periodic_task(crontab(day_of_week='0-6'), send_event_fee_notification)
229+
sender.add_periodic_task(crontab(minute=0, hour=0), send_event_fee_notification)
230230
sender.add_periodic_task(crontab(minute=0, hour=0, day_of_month=1), send_event_fee_notification_followup)
231231
sender.add_periodic_task(crontab(hour='*/5', minute=30), change_session_state_on_event_completion)
232232
sender.add_periodic_task(crontab(minute='*/45'), expire_pending_tickets)

0 commit comments

Comments
 (0)