From bb0f46d8af8479b6e7de0d37504717eb06a4233b Mon Sep 17 00:00:00 2001 From: bunkerity Date: Wed, 16 Dec 2020 16:06:36 +0100 Subject: [PATCH] JOBS - fix job_log --- scripts/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index 392a64f..722ebe6 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -1,7 +1,7 @@ #!/bin/sh function job_log() { - when="$(date +[%d/%m/%Y %H:%M:%S])" + when="$(date '+[%d/%m/%Y %H:%M:%S]')" what="$1" echo "$when $what" >> /var/log/jobs.log }