redirecting output in cron job not working

Mark Haney mhaney at ercbroadband.org
Tue May 6 12:04:30 UTC 2008


g wrote:
> Cameron Simpson wrote:
>> Probably, yes, if he wants an accumulating log.
>> Alternatively, it can be convenient to make a "log per day" (or
>> whatever).
> 
>> Thanks for pointing that out.
> you are welcome.
> 
> my thinking was that he was running several per day and if he did not check
> often, he might be wondering again.
> 
> i hang `date` to end of file names when i do not want to read back thru a
> long file.
> 
> anyway, later.
> 

Honestly, I don't want any output sent via email /unless/ the script 
fails.  That's what I don't get.  Why it was sending these emails in the 
first place, then not, now it is again.  I really don't want to log 
anything on a successful run of the script, since there should be 
nothing to report.  It's only on a failure that I want something logged.


-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the fedora-list mailing list