diff --git a/cron.sh b/cron.sh index 3ec045f..5872ee8 100644 --- a/cron.sh +++ b/cron.sh @@ -2,7 +2,8 @@ LOG_FILE="/data/logs/cron.log" mkdir -p $(dirname $LOG_FILE) -exec > $LOG_FILE 2>&1 +#exec > $LOG_FILE 2>&1 +exec > >(tee -a $LOG_FILE) 2>&1 if [ "$(id -u)" != "0" ]; then echo -e "\033[31mThis script requires superuser rights\033[0m"