11 lines
293 B
Bash
Executable File
11 lines
293 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"
|