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

Re: apt-get cron-job?



Am 2005-07-15 01:45:28, schrieb Jim Knuth:
> Hallo und guten Morgen Michelle,

> >   __( '/etc/cron.d/aptgetupdate' )________________
> >  /
> > | SHELL=/bin/bash
> > | PATH=/sbin:/bin:/usr/sbin:/usr/bin
> > | 
> > | 34 1 * * * root /usr/bin/apt-get update
> >  \________________________________________________
> 
> ob das so eine gute Idee ist? Ein automatisches Upgrade? ;)

        update != upgrade

Upgrade kannste antürlich auch machen mit

  __( '/etc/cron.d/aptgetupgrade' )_____________________________________
 /
| SHELL=/bin/bash
| PATH=/sbin:/bin:/usr/sbin:/usr/bin
| 
| 34 1 * * * root /usr/bin/apt-get update || /usr/bin/apt-get -d upgrade
 \______________________________________________________________________

"-d" ist download only (empfohlen).

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: