Re: Cron and Anacron for newbies (noffle also) Solved (for me at least)

From: Scotty Fitzgerald (sfitz007_at_bestweb.net)
Date: 11/30/04

  • Next message: Chris Halls: "Re: Openoffice Setup Fails after Upgrade on Sid"
    Date: Mon, 29 Nov 2004 22:52:50 -0500
    To: debian-user@lists.debian.org
    
    

    Scotty Fitzgerald wrote:

    > I was wondering if anybody could point me to a faq for cron and anacron?
    >
    > Reason I ask is because I am getting into noffle and the doc says to run
    > an
    > expire every day. I noticed just such a command on a directory called
    > /etc/cron.daily/
    >
    > So I also, (in addition to the faq) would like to know,
    >
    > 1) how do I verify that one of the jobs in /etc/cron.daily/ ran to
    > successful completion
    >
    > 2) How can I migrate the running of these jobs to anacron, as my personal
    > computer is not a 24/7 uptime system.
    >
    > Thanks for any and all responses!
    > ---
    >
    > Scotty
    >
    >
    Thank you, David, Paul, Sam, Hugo and Maurits!

    I now know it is working right. I dug the documentation a
    little, and found a more eloquent way to verify that anacron
    was working.

    I found that the anacrontab file uses run-parts with a setting
    of "--reports", I read the doc for run-parts and reset this to
    "--verbose" and got this in my local email

    Anacron job 'cron.dailyjob'
    From: root@rucyber-punk (Anacron)
     To: root@rucyber-punk
     Date: Mon, 29 Nov 2004 15:01:40 -0500
     
    run-parts: executing /etc/cron.daily/0anacron
    run-parts: executing /etc/cron.daily/calendar
    run-parts: executing /etc/cron.daily/exim
    run-parts: executing /etc/cron.daily/find
    run-parts: executing /etc/cron.daily/logrotate
    run-parts: executing /etc/cron.daily/man-db
    run-parts: executing /etc/cron.daily/modutils
    run-parts: executing /etc/cron.daily/netkit-inetd
    run-parts: executing /etc/cron.daily/noffle
    run-parts: executing /etc/cron.daily/standard
    run-parts: executing /etc/cron.daily/sysklogd
    run-parts: executing /etc/cron.daily/wwwoffle

    and now know it is working!

    But, I will still read the faq at ursine.dyndns.org!

    Thanks for the help!

    ---
    Scotty
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Chris Halls: "Re: Openoffice Setup Fails after Upgrade on Sid"

    Relevant Pages

    • Re: anacron
      ... My mistake, you're right. ... I can see from /etc/crontab that run-parts ... doesn't get called if anacron is installed. ... David Hart ...
      (Ubuntu)
    • Re: Broken crontab/anacron
      ... > anacron or crontab. ... > I think the problem is anacron. ... > logs about problems with it. ...
      (Fedora)
    • Broken crontab/anacron
      ... anacron or crontab. ... I think the problem is anacron. ...
      (Fedora)