tags 384500 + wontfix thanks Hi
On Thu, Aug 24, 2006 at 06:17:44PM +0200, Robert Millan wrote: > Package: cron-apt > Version: 0.4.8 > Severity: wishlist > Tags: patch > > Please could you use /etc/cron.daily for daily runs, and leave /etc/cron.d > only > for hourly / 5-minutely runs? This will let anacron (which does not process > /etc/cron.d) to work with cron-apt, allowing cron-apt to support non-24/7 > systems. I appriciate your concern here but the intention to have it run nightly (only) is that it should not affect your normal use of the computer/network etc. So if upste is what you want when you sit at the computer you can do that manually anyway. If you turn on the computer you do not want the network clogged with updates right away. You probably want to use it for something else. If this is not what you want, then you can follow what is stated in the README file. It is very clearly documented there. Thanks, // Ola > -- System Information: > Debian Release: testing/unstable > APT prefers testing > APT policy: (500, 'testing'), (1, 'experimental') > Architecture: amd64 (x86_64) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.16-2-amd64-k8 > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: > LC_ALL set to en_US.UTF-8) > > Versions of packages cron-apt depends on: > ii apt 0.6.45 Advanced front-end for dpkg > ii debianutils 2.17 Miscellaneous utilities specific > t > > Versions of packages cron-apt recommends: > pn liblockfile1 <none> (no description available) > ii mailutils [mailx] 1:1.0-1 GNU mailutils utilities for > handli > > -- no debconf information > diff -Nur cron-apt-0.4.8.old/src/cron.d cron-apt-0.4.8/src/cron.d > --- cron-apt-0.4.8.old/src/cron.d 2004-04-16 12:15:37.000000000 +0200 > +++ cron-apt-0.4.8/src/cron.d 2006-08-24 18:08:34.000000000 +0200 > @@ -1,8 +1,8 @@ > # > # Regular cron jobs for the cron-apt package > # > -# Every night at 4 o'clock. > -0 4 * * * root test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt > +# Every night. > +# -> moved to /etc/cron.daily/cron-apt > # Every hour. > # 0 * * * * root test -x /usr/sbin/cron-apt && > /usr/sbin/cron-apt /etc/cron-apt/config2 > # Every five minutes. > diff -Nur cron-apt-0.4.8.old/src/cron.daily cron-apt-0.4.8/src/cron.daily > --- cron-apt-0.4.8.old/src/cron.daily 1970-01-01 01:00:00.000000000 +0100 > +++ cron-apt-0.4.8/src/cron.daily 2006-08-24 18:12:01.000000000 +0200 > @@ -0,0 +1,2 @@ > +#!/bin/sh > +exec cron-apt > diff -Nur cron-apt-0.4.8.old/src/Makefile cron-apt-0.4.8/src/Makefile > --- cron-apt-0.4.8.old/src/Makefile 2005-02-06 15:21:57.000000000 +0100 > +++ cron-apt-0.4.8/src/Makefile 2006-08-24 18:04:38.000000000 +0200 > @@ -1,6 +1,8 @@ > CRONDIR=/etc/cron.d > +DAILYDIR=/etc/cron.daily > BINDIR=/usr/sbin > LOGROTDIR=/etc/logrotate.d > +SHELL=bash > > all: > > @@ -8,8 +10,9 @@ > > install: cron.d cron-apt > # Cron job > - mkdir -p $(DESTDIR)$(CRONDIR) > + mkdir -p $(DESTDIR){$(CRONDIR),$(DAILYDIR)} > install -m644 cron.d $(DESTDIR)$(CRONDIR)/cron-apt > + install -m755 cron.daily $(DESTDIR)$(DAILYDIR)/cron-apt > # Bin > mkdir -p $(DESTDIR)$(BINDIR) > install -m755 cron-apt $(DESTDIR)$(BINDIR) -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]