-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Milestone
Description
Explanations
When the CLI export ZIP command for an user is executed, the verbose informations are display on stderr. This is not an error (see below: result sucess), informations must be on stdout instead.
When the command is executed by cron (eg. inside a script), it cause cron to send an email because of stderr.
Reproduce
/var/www/html/FreshRSS/cli/export-zip-for-user.php --user Leepic > /tmp/Leepic.zip 2> /tmp/Leepic.stderr
cat /tmp/Leepic.stderr
FreshRSS exporting ZIP for user “Leepic”…
Result: success
Workaround
Redirect the command to /dev/null or in a file with >/tmp/Leepic.log 2>&1 but if there is an error in the ZIP export, cron will don't send an email.
Versions
- FreshRSS: 1.14.3-dev
- PHP: 5.6.40
- MySQL Server 5.5.62
- VPS hosting
Reactions are currently unavailable