forked from MarseyWorld/MarseyWorld
more readable less autistic date format
parent
6218c00aa9
commit
b9e2f18c43
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue