forked from MarseyWorld/MarseyWorld
easier docker cron testing
parent
f2fe8be665
commit
ef11d5d7bb
|
@ -5,7 +5,6 @@ LOG='/var/log/rdrama/cron.log'
|
||||||
echo -e "\n---------------------------------------- $1 === $(date)" >> "$LOG"
|
echo -e "\n---------------------------------------- $1 === $(date)" >> "$LOG"
|
||||||
|
|
||||||
source /e
|
source /e
|
||||||
. .env
|
|
||||||
/usr/local/bin/flask cron $1 >> "$LOG" 2>&1
|
/usr/local/bin/flask cron $1 >> "$LOG" 2>&1
|
||||||
|
|
||||||
echo -e "======================================== $1 === $(date)" >> "$LOG"
|
echo -e "======================================== $1 === $(date)" >> "$LOG"
|
||||||
|
|
Loading…
Reference in New Issue