s+ow: revert cron wait at minute 58 (#57)

This commit is contained in:
Mark Joshwel 2023-11-03 09:24:21 +08:00 committed by GitHub
parent abaa87c85e
commit c7d8f81654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
s+ow
View file

@ -303,7 +303,7 @@ run() {
if [ -n "$SPOW_CRON" ]; then if [ -n "$SPOW_CRON" ]; then
notify "Waiting for the new hour..." notify "Waiting for the new hour..."
printf "waiting until the new hour...\n" printf "waiting until the new hour...\n"
while [ "$(date +'%M')" -eq 58 ]; do while [ "$(date +'%M')" -eq 59 ]; do
printf " $(date)\n" printf " $(date)\n"
sleep 1 sleep 1
done done