From b974d857ed51d86d2a7328cca26a864f89715445 Mon Sep 17 00:00:00 2001 From: Someone Date: Tue, 27 Dec 2022 02:57:46 +0100 Subject: [PATCH] more utcification. --- cron.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron.sh b/cron.sh index ca2e700..ac5711c 100755 --- a/cron.sh +++ b/cron.sh @@ -5,7 +5,7 @@ MYPWD=$(pwd) mkdir -p /tmp/wh1080/device -START_TS="$(date -Isec)" +START_TS="$(date --utc -Isec)" echo "** cron.sh: started: ${START_TS}" echo "${START_TS}" >/tmp/wh1080/cron.sh.start.ts echo "${START_TS}" >/tmp/wh1080/device/last.ts @@ -35,6 +35,6 @@ echo "[$(ls --format=commas -Q)]" >/tmp/wh1080/device/history.json # finish ln -snf /tmp/wh1080.cron.sh.log /tmp/wh1080/cron.sh.log -END_TS="$(date -Isec)" +END_TS="$(date --utc -Isec)" echo "${END_TS}" >/tmp/wh1080/cron.sh.stop.ts echo "** cron.sh: DONE: ${END_TS}" -- 2.43.0