From b9e2f18c432e619811ebd1e98078a75b4b5b8326 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 11 Sep 2023 22:30:06 +0300 Subject: [PATCH] more readable less autistic date format --- scripts/cron.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cron.sh b/scripts/cron.sh index bb0e75ca3..781bfb2c9 100755 --- a/scripts/cron.sh +++ b/scripts/cron.sh @@ -2,10 +2,10 @@ LOG='/var/log/rdrama/cron.log' -echo -e "\n---------------------------------------- $1 === $(date --iso-8601=minutes)" >> "$LOG" +echo -e "\n---------------------------------------- $1 === $(date)" >> "$LOG" source /e . .env /usr/local/bin/flask cron $1 >> "$LOG" 2>&1 -echo -e "======================================== $1 === $(date --iso-8601=minutes)" >> "$LOG" +echo -e "======================================== $1 === $(date)" >> "$LOG"