JOBS - fix job_log
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
function job_log() {
|
function job_log() {
|
||||||
when="$(date +[%d/%m/%Y %H:%M:%S])"
|
when="$(date '+[%d/%m/%Y %H:%M:%S]')"
|
||||||
what="$1"
|
what="$1"
|
||||||
echo "$when $what" >> /var/log/jobs.log
|
echo "$when $what" >> /var/log/jobs.log
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user