bugfixing
This commit is contained in:
parent
abb3951e0d
commit
b5d7749210
@ -351,8 +351,7 @@ 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 9 <= hour < 20:
|
||||||
if week <= 4 and 7 <= hour < 22:
|
|
||||||
run_command(["python3", "cron_push_notifications.py"])
|
run_command(["python3", "cron_push_notifications.py"])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user