bugfixing

This commit is contained in:
MuslemRahimi 2025-02-18 13:13:13 +01:00
parent e9a1d1cd41
commit d8f7ff638b

View File

@ -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