Re: cron and anacron

From: Adam Garside (asg_at_gimp.shacknet.nu)
Date: 03/19/05

  • Next message: Bob Alexander: "Re: Printing PDF from FireFox"
    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
    

  • Next message: Bob Alexander: "Re: Printing PDF from FireFox"

    Relevant Pages

    • Re: cron and anacron
      ... david david wrote: ... > install and there appears to be some anacron statements in ... it simply check to see if anacron is installed. ... RESEARCHUT -- http://www.researchut.com ...
      (Debian-User)
    • Re: Anacron vs. cron.
      ... >> but I strongly advise you to install anacron. ... have anacron installed if you intend to run your systems non-stop. ... am surprised if it actually prevents cron from running its ...
      (Debian-User)
    • Re: System lockup with SMP Kernel.
      ... >cron and anacron are still stopped, and I haven't hung since. ... crash, the systems was setup as a minimum install and then Apache, PHP ...
      (Fedora)
    • Re: System lockup with SMP Kernel.
      ... This may or nay not have a bearing here: I left cron and anacron stopped ... the system worked overnight. ... > crash, the systems was setup as a minimum install and then Apache, PHP ...
      (Fedora)
    • Re: Anacron vs. cron.
      ... I'm not sure why it doesn't just supercede cron, ... >> to install anacron. ... If it is installed to will run by cron and execute the cron jobs ...
      (Debian-User)