Re: cron and anacron
From: Adam Garside (asg_at_gimp.shacknet.nu)
Date: 03/19/05
- Previous message: david david: "cron and anacron"
- In reply to: david david: "cron and anacron"
- Next in thread: Bob Alexander: "Re: cron and anacron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 19 Mar 2005 12:39:44 -0500 To: debian-user@lists.debian.org
On Sat, Mar 19, 2005 at 09:35:32AM -0800, david david wrote:
> I'm confused between anacron and cron. I've got a vanilla woody
> install and there appears to be some anacron statements in
> /etc/crontab. Does that mean I need to install anacron to get the
> entries in /etc/cron.daily, weekly and monthly to run?
No
> 25 6 * * * root test -e /usr/sbin/anacron || run-parts
> --report /etc/cron.daily
Note the use of '||'. That means that if anacron is installed, the
standard method cron uses for running /etc/cron.daily/* (i.e. run-parts)
won't run since anacron will take care of it.
-- asg
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: david david: "cron and anacron"
- In reply to: david david: "cron and anacron"
- Next in thread: Bob Alexander: "Re: cron and anacron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|