Fedora Core up2date e-mail notices

Fedora Core up2date e-mail notices. A friend and I were talking about how to get notices when there are
updates available for Fedora Core.  I have thought about this, and
taken the first step … to get daily notices of up2date status.

I simply added a script to my /etc/cron.daily directory called up2date.cron.  The script in this file is:

#!/bin/sh
up2date –nox -l | mail -s “Up2date Check” root

The -l option will list the available updates, and then pipe the results to mail.

After I have got a series of these that tell me that there are no
updates, I’m going to update the script to only mail me when there are
updates found.  Also, if I wanted earlier warnings at that point I
could check more often … but daily is good enough for now.

Leave a Reply