LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 07-28-2005, 04:21 PM   #1
moana
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
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?
 
Old 07-28-2005, 04:30 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
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
 
Old 07-28-2005, 04:34 PM   #3
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Check out
cron-apt http://packages.debian.org/stable/admin/cron-apt
apticron http://packages.debian.org/stable/admin/apticron
 
Old 07-29-2005, 06:26 AM   #4
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kde 3.3 not a good idea denning Linux - Software 3 03-11-2007 03:13 AM
Good idea? Berticus Linux - General 2 09-28-2005 11:19 AM
Auto-update: Good idea for servers? esasse Linux - Newbie 4 12-02-2004 02:23 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 02:27 AM
I think this is a good idea! pe2338 Linux - General 7 09-14-2003 06:52 AM


All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration