You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A project I am using has a cleanup task that uses the progressbar for displaying progress.
It does not explicitly define the fd to use, so progressbar starts to use stderr
I run the task via cron.
Every output a cron task generates is assumed to be an error and cron sends an email with the output.
If a tool does not have a switch to be more quiet, one can just pipe stdout to dev null and hope that errors get sent to stderr.
This won't be possible for tools that use the Progressbar with default settings, because it will out the bar to stderr, which in turn will generate Mail alerts from cron.
This can easily fixed with configuration, but I wonder, if it wouldn't make more sense to use stdout as the default
The text was updated successfully, but these errors were encountered:
A project I am using has a cleanup task that uses the progressbar for displaying progress.
It does not explicitly define the fd to use, so progressbar starts to use stderr
I run the task via cron.
Every output a cron task generates is assumed to be an error and cron sends an email with the output.
If a tool does not have a switch to be more quiet, one can just pipe stdout to dev null and hope that errors get sent to stderr.
This won't be possible for tools that use the Progressbar with default settings, because it will out the bar to stderr, which in turn will generate Mail alerts from cron.
This can easily fixed with configuration, but I wonder, if it wouldn't make more sense to use stdout as the default
The text was updated successfully, but these errors were encountered: