Re: redirecting output in cron job not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 6, 2008 at 7:04 AM, Mark Haney <mhaney@xxxxxxxxxxxxxxxx> wrote:
>
>  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.

Why send stderr to stdout then?   Normally you would discard stdout
>/dev/null and leave stderr alone so only error output will trigger
the email.

-- 
  Les Mikesell
    lesmikesell@xxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux