forked from rDrama/rDrama
1
0
Fork 0

more readable less autistic date format

master
Aevann 2023-09-11 22:30:06 +03:00
parent 6218c00aa9
commit b9e2f18c43
1 changed files with 2 additions and 2 deletions

View File

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