mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-19 19:42:59 -04:00
Fix Docker FRESHRSS_ENV for cron (#2963)
cron job was not passed the environment variable FRESHRSS_ENV as it should This resulted in messages during cron to not be logged according to FRESHRSS_ENV level
This commit is contained in:
committed by
GitHub
parent
2bbc579d72
commit
df9c0ae6f1
@@ -14,6 +14,7 @@ if [ -n "$CRON_MIN" ]; then
|
||||
echo "export TZ=$TZ"
|
||||
echo "export COPY_LOG_TO_SYSLOG=$COPY_LOG_TO_SYSLOG"
|
||||
echo "export COPY_SYSLOG_TO_STDERR=$COPY_SYSLOG_TO_STDERR"
|
||||
echo "export FRESHRSS_ENV=$FRESHRSS_ENV"
|
||||
) >/var/www/FreshRSS/Docker/env.txt
|
||||
crontab -l | sed -r "\\#FreshRSS#s#^[^ ]+ #$CRON_MIN #" | crontab -
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user