forked from MarseyWorld/MarseyWorld
11 lines
292 B
Bash
Executable File
11 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOG='/var/log/rdrama/cron.log'
|
|
|
|
echo -e "\n======================================== $1 === $(date --iso-8601=minutes)" >> "$LOG"
|
|
|
|
source /e
|
|
/usr/local/bin/flask cron $1 >>"$LOG" 2>&1
|
|
|
|
echo -e "======================================== $1 === $(date --iso-8601=minutes)" >> "$LOG"
|