LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC5 Update Alerter (https://www.linuxquestions.org/questions/fedora-35/fc5-update-alerter-432786/)

benjithegreat98 04-07-2006 03:40 PM

FC5 Update Alerter
 
I'm running FC5 and I've generally always used RH variants of some sort and starting at a certain point they all had an up2date indicator on my task bar that told me it was time to update. In the past I've always seen the red exclamation point and dropped to a command line and ran my update command I made that would update the system.

Is there some sort of visual warning on fc5 that will tell you it is time to update? If there isn't then I'm probably going to create a cron job to update. Any suggestions would be appreciated.

reddazz 04-08-2006 12:14 PM

Its one major ommision in FC5. The only way to stay up to date is to update regularly e.g. once a week or whichever suites you.

macemoneta 04-08-2006 12:42 PM

You can just add this cron entry:

Code:

0 12 * * * /usr/bin/yum check-update &>/dev/null ; if [ "$?" == "100" ] ; then CONS=`/bin/ls -l /dev/console | /usr/bin/awk '{print $3}'` ; (/bin/su - $CONS -c '/usr/bin/zenity --info --text="There are new updates available"' &>/dev/null &) ; fi

Once a day at noon (or whenever you set the cron job to run), it will check for new updates. If it finds any, you will get a pop-up message on your screen to let you know. To see the message, manually enter the command:

Code:

zenity --info --text="There are new updates available"
It's not exactly an icon, but it does the job. Personally, I just let my machines apply maintenance daily automatically.

spooon 04-08-2006 03:13 PM

I just turn on and start the "yum" service so it automatically updates every night for me without my intervention; see http://fedora.redhat.com/docs/yum/sn...matic-updating

benjithegreat98 04-10-2006 08:42 AM

Thanks for the input! I think I'm going to turn on automatic updates but I'm going to use the zenity command to let me know it has happened. I just want to be aware of when something's happening.


All times are GMT -5. The time now is 09:30 AM.