[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get cron-job?



* Matthias Reinhardt <matsch21@web.de> [15-07-05 01:30]:
> Hallo zusammen,
> 
> gibts ne Möglichkeit das System per cronjob einfach in der Nacht updaten zu 
> lassen?
> 
> also "apt-get update" per cronjob
> 
> Falls ja wie sieht der Aufruf als cronjob an sich aus?
> Oder muss man sich extra dafür ein super bash-script basteln?


Du suchst cron-apt. Aber das automatische installieren ohne noch einmal
zu kontrollieren solltest du dir gut überlegen.

# aptitude show cron-apt

Description: automatic update of packages using apt-get
 Contains a tool that is run by a cron job at regular intervals. By
 default it just updates the package list and download new packages
 without installing. You can instruct it to run anything that you
 can do with apt-get (or aptitude). 
 
 It can optionally sends mail to the system administrator on errors, log
 to syslog or a separate log file. 
 
 Observe that this tool may be a security risk, so you should not set it
 to do more than necessary. Automatic upgrade of all packages is NOT
 recommended unless you are in full control of the package repository.

HTH
Jens



Reply to: