LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-get update a good idea in a crontab? (https://www.linuxquestions.org/questions/debian-26/apt-get-update-a-good-idea-in-a-crontab-347778/)

moana 07-28-2005 03:21 PM

apt-get update a good idea in a crontab?
 
Since i manually do an 'apt-get update' every day, I was thinking of having that done automatically via a crontab that updates every 6 hours or so.

Is that a good idea to use a crontab for this? Or should i just keep manually doing it just in case something goes wrong with the crontab?

Mega Man X 07-28-2005 03:30 PM

Update, yes, upgrade, no. You really need to check the packages going to be upgraded. Even though apt-get is very reliable, sometimes it can screw things up pretty bad. I'm all for apt-get update running on the cron, not apt-get upgrade ;)

demian 07-28-2005 03:34 PM

Check out
cron-apt http://packages.debian.org/stable/admin/cron-apt
apticron http://packages.debian.org/stable/admin/apticron

trigggl 07-29-2005 05:26 AM

For me, I think it would be a waste of time. I would probably prefer to do the update right before trying upgrade anyway, especially if nothing shows up. I guess I could be more patient. 6 hours should be plenty. I could have it do the cron job right before I wake up for work.


All times are GMT -5. The time now is 02:00 PM.