bugfixing
This commit is contained in:
parent
e9a1d1cd41
commit
d8f7ff638b
@ -344,8 +344,8 @@ def run_push_notifications():
|
|||||||
now = datetime.now(ny_tz)
|
now = datetime.now(ny_tz)
|
||||||
week = now.weekday()
|
week = now.weekday()
|
||||||
hour = now.hour
|
hour = now.hour
|
||||||
if week <= 4 and 7 <= hour < 20:
|
if week <= 4 and 5 <= hour < 21:
|
||||||
run_command(["python3", "cron_push_n30tifications.py"])
|
run_command(["python3", "cron_push_notifications.py"])
|
||||||
|
|
||||||
|
|
||||||
# Create functions to run each schedule in a separate thread
|
# Create functions to run each schedule in a separate thread
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user