This commit is contained in:
2024-09-30 09:08:26 +02:00
parent b73dda4496
commit e8b2555b6b

View File

@@ -561,7 +561,7 @@ while :; do
# Check if main is still alive and exit otherwise. # Check if main is still alive and exit otherwise.
ps -p $pid > /dev/null || break ps -p $pid > /dev/null || break
[ -v EPOCHSECONDS ] && now=$EPOCHSECONDS || now=$(data +%s) [ -v EPOCHSECONDS ] && now=$EPOCHSECONDS || now=$(date +%s)
for func in "${!DATA_FUNCS[@]}"; do for func in "${!DATA_FUNCS[@]}"; do
if (( now >= ${timetable[$func]:-0} )); then if (( now >= ${timetable[$func]:-0} )); then
delay=${DATA_FUNCS[$func]} delay=${DATA_FUNCS[$func]}