Skip to content

Commit

Permalink
bugfixing
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Feb 18, 2025
1 parent e9a1d1c commit d8f7ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/primary_cron_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ def run_push_notifications():
now = datetime.now(ny_tz)
week = now.weekday()
hour = now.hour
if week <= 4 and 7 <= hour < 20:
run_command(["python3", "cron_push_n30tifications.py"])
if week <= 4 and 5 <= hour < 21:
run_command(["python3", "cron_push_notifications.py"])


# Create functions to run each schedule in a separate thread
Expand Down

0 comments on commit d8f7ff6

Please sign in to comment.