From e927148bf553817497ed55d2715540188602f260 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 25 Feb 2023 21:18:31 +0200 Subject: [PATCH] add cron-d.sh to the repo --- cron-d.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cron-d.sh 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