generated from me/template-mit
Sleep 5 minutes between each alert since it must be dismissed manually.
This commit is contained in:
1 parent
b0acb7793a
commit
4aed123213
1 file changed
+1
@@ -163,6 +163,7 @@ while true; do
|
|||||||
if [ "$CURRENT_TIME" -ge "$ALERT_WINDOW_START" ] && \
|
if [ "$CURRENT_TIME" -ge "$ALERT_WINDOW_START" ] && \
|
||||||
[ "$CURRENT_TIME" -lt "$MIDNIGHT" ]; then
|
[ "$CURRENT_TIME" -lt "$MIDNIGHT" ]; then
|
||||||
show_alert
|
show_alert
|
||||||
|
sleep 290
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Reset when we've passed midnight so we fetch new time tomorrow
|
# Reset when we've passed midnight so we fetch new time tomorrow
|
||||||
|
|||||||
Reference in new issue
Block a user