JOBS - fix job_log

This commit is contained in:
bunkerity 2020-12-16 16:06:36 +01:00
parent c5b32dfc4c
commit bb0f46d8af
No known key found for this signature in database
GPG Key ID: 654FFF51CEF7CC47
1 changed files with 1 additions and 1 deletions

View File

@ -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
}