On 28 February 2018 at 22:17, Chris Adams <linux(a)cmadams.net> wrote:
Once upon a time, Jeffrey Ross <jeff(a)bubble.org> said:
> Since this is simply a warning and not a failure I can do one of a
> few things
>
> 1) ignore the warning which generates an email from cron
> 2) remove the "use warnings" from the exiqsumm script
> 3) send standard error for the this cron job to /dev/null
4) if there's no other CLI argument processing in the script, call it
like "exiqsumm ignored"
5) Change line 48 so it says:
if (@ARGV and $ARGV[0] eq '--version') {
For bonus points, submit that fix back to the project.
--
Dave Cross :: dave(a)dave.org.uk
http://dave.org.uk/
@davorg