Skip to content

Commit

Permalink
bugfixing
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Feb 4, 2025
1 parent abb3951 commit b5d7749
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/primary_cron_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,7 @@ def run_push_notifications():
now = datetime.now(ny_tz)
week = now.weekday()
hour = now.hour

if week <= 4 and 7 <= hour < 22:
if week <= 4 and 9 <= hour < 20:
run_command(["python3", "cron_push_notifications.py"])


Expand Down

0 comments on commit b5d7749

Please sign in to comment.