Re: Email-reports from nightly yum updates?

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

 



Alessandro Brezzi wrote:

Edit the root crontab (ie: as root crontab -e) and put inside MAILTO=youraccounti@xxxxxxxxxxxxxx <mailto:youraccounti@xxxxxxxxxxxxxx> If you want your email go thru the internet you have to customize your sendmail / postix server according.
HTH

Alessandro

2006/1/6, Tarjei Knapstad <tarjei.knapstad@xxxxxxxxx <mailto:tarjei.knapstad@xxxxxxxxx>>:

    I've enabled the yum cronjob to update my FC4 boxes daily which is
    fine as long as there aren't any package conflicts. Whenever there are
    conflicts however, yum just seems to die in silence and the only way I
    discover them is if I do a manual yum update.

    Is it possible to get an email report sent if the yum update fails?
    (It would also be nice to get reports whenever something has been
    updated for that matter).

    Cheers,
    --
    Tarjei

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




--
Alessandro Brezzi

If you aren't getting cron's messages, and better way might be to go to /etc/aliases and find the line that starts 'root:' (it should be the last line or so). Replace what is there with your username (or a full email address if you want it to be moved to a remote server) and (if I remember correctly...) uncomment the line. Then you need to save the file and in your shell prompt, type 'newaliases' (as root of course). Now any service that sends their status messages to root will come into your mailbox so your are informed immediately.

Justin Willmert


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

  Powered by Linux