Services & Auto-Updating

Benjamin Edwards bedwards at rnli.org.uk
Fri Oct 1 09:22:52 UTC 2004


I kind of thought about running apt-get update/upgrade nightly ages ago for debian but there are sometimes prompts which need user interaction.  Is it safe to put it in crontab, I guess that would choose the defaults in this case.

Ben

>>> Neil Woolford <neil at neilwoolford.co.uk> 10/01/04 10:12am >>>
At 22:03 30/09/04, you wrote:

>Two questions...
>
>    * How do I view/edit what services are running for each runlevel?
Others have answered this I think.

>    * Is there a way to have apt automatically run "apt-get update" && 
> "apt-get upgrade" nightly?
Yes.  But in the true Unix/Linux spirit it isn't built in to apt-get.

Rather than add features and weight to individual programs, Linux has a 
separate service for running jobs automatically at specified times.  The 
service is called 'cron', and is generally accessed by using the 'crontab' 
command which builds and modifies the appropriate configuration file.

Fortunately for us mortals there are also friendly gui front ends 
available.  As I haven't got a running Ubuntu available today I'm afraid I 
don't know which if any of these is available in this distribution - sorry.

Hope this helps you get on the right tracks.

Neil



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


______________________________________________________________________
This email and any files transmitted with it are confidential. It is for the intended recipient only. If you have received the email in error please notify the author by replying to this email. If you are not the intended recipient, you must not disclose, distribute, copy, print, or rely on this email. Any views expressed by an individual within this email which do not constitute or record professional advice relating to the RNLI, do not necessarily reflect the views of the organisation.

Registered Charity Number 209603




More information about the ubuntu-users mailing list