MarseyWorld/scripts/cron.sh

11 lines
255 B
Bash
Raw Normal View History

2023-02-25 19:18:31 +00:00
#!/bin/bash
LOG='/var/log/rdrama/cron.log'
echo -e "\n---------------------------------------- $1 === $(date)" >> "$LOG"
2023-02-25 19:18:31 +00:00
2023-07-23 15:04:52 +00:00
source /e
2023-07-27 00:12:50 +00:00
/usr/local/bin/flask cron $1 >> "$LOG" 2>&1
2023-07-23 15:04:52 +00:00
echo -e "======================================== $1 === $(date)" >> "$LOG"