diff --git a/cron-d.sh b/cron-d.sh new file mode 100644 index 000000000..fdefb7059 --- /dev/null +++ b/cron-d.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +LOG='/var/log/rdrama/cron.log' + +echo -e "\n======================================== $1 === $(date --iso-8601=minutes)" >> "$LOG" + +source .env +/usr/local/bin/flask cron $1 >>"$LOG" 2>&1