mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 01:18:26 +00:00
JOBS - fix job_log
This commit is contained in:
parent
c5b32dfc4c
commit
bb0f46d8af
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue