Re: cron jobs overly verbose

David Newman <[email protected]>
Newsgroups gmane.mail.virus.maiamailguard
Message-ID <[email protected]>

On 8/11/15 12:12 PM, David Newman wrote:
> On 8/11/15 10:06 AM, Marc Fournier wrote:
>>
>> how are ppl setting up their cron jobs?   Getting one of these a day is annoying:
>>
>> 2015-08-04 03:00:00 Maia: [stats-snapshot] Updating stats history table.
>>
>> But, there doesn’t appear to be a way to turn that off *without* turning off any error messages that might also be generated … 
> 
> You can silence STDOUT and STDERR messages from cron jobs. The syntax
> differs per operating system. On FreeBSD, something like this at the end
> of the cron command will work:
> 
>> /dev/null 2>&1

Sorry, Thunderbird treated the redirect as a quote. Do this, without the
quote marks, at the end of a cron command in FreeBSD to silence output:

     '> /dev/null 2>&1'

dn

> 
> But, per your comment below, if there's a problem with a cron job, you
> probably want to know about it.
> 
>>
>> Or getting something like:
>>
>> Argument "2.49_01" isn't numeric in numeric ge (>=) at /usr/local/lib/perl5/site_perl/mach/5.20/forks.pm line 1570.
>>
>> Not a bug / problem …
> 
> It is a known bug in the perl forks.pm module, and a problem in that it
> causes the process-quarantine.pl script to terminate.
> 
> I posted a patch on this mailing list a few days ago:
> 
> http://www.renaissoft.com/cgi-bin/mailman/private/maia-users/2015-August/016668.html
> 
> dn
> 
>>
>> I want to know if there is a problem, but I only want those kind of email’s … not the ‘its running great’ messages …
>>
>> Anyone?
>> _______________________________________________
>> Maia-users mailing list
>> [email protected]
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>
> _______________________________________________
> Maia-users mailing list
> [email protected]
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
> 
_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.