add cron-d.sh to the repo

master
Aevann 2023-02-25 21:18:31 +02:00
parent 0bc727a6e1
commit e927148bf5
1 changed files with 8 additions and 0 deletions

8
cron-d.sh 100644
View File

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