Crontab Mystery

From: Peter Fleck (fleck004_at_umn.edu)
Date: 12/17/03

  • Next message: Ben Yau: "Re: password confirmation"
    To: redhat-list@redhat.com
    Date: Wed, 17 Dec 2003 11:08:10 -0600
    
    

    I have a mystery. Using Redhat Linux 7.2.

    Cron's main config file, /etc/crontab, is owned by root and the cron
    log says 'root' is running this crontab. But when I sudo to root,
    and issue the 'crontab -l' command, I don't see it (in fact I see a
    different crontab that we installed and is stored in /var/spool/cron).

    Everything is working fine but I'm wondering how you edit
    /etc/crontab as someone added some cron jobs and we need to remove
    them. Do I simply edit the file in vi and restart crond?

    Thanks.

    -- 
    Peter Fleck
    Webmaster | University of Minnesota Cancer Center
    Dinnaken Office Bldg.
    925 Delaware St. SE
    Minneapolis, MN  55414
    612-625-8668 | fleck004@umn.edu | www.cancer.umn.edu
    Campus Mail: MMC 806
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ben Yau: "Re: password confirmation"

    Relevant Pages

    • [Fwd: OpenBase SQL multiple vulnerabilities Part Deux]
      ... # Writing to roots crontab seems to be fairly prompt at handing out root shells ... This ensures that cron is running when the fake root crontab is created. ... the OpenBase family of products have been enabling some of the most innovative business applications ...
      (Bugtraq)
    • Re: Cron job question
      ... > From: root@somedomain.nl (Cron Daemon) ... You've made the classic mistake of confusing the system crontab ... extra column defining which user ID the command should be run as. ... any new cron jobs for any user (including root) and leave the system ...
      (freebsd-questions)
    • Re: /etc/mailname and cron
      ... checked and cron depends on postfix or mail-transport-agent. ... these files may give you a clue about what is happening to mail to root. ... and the config file may be somewhat different than ... Much thanks to you Tony and to derek also. ...
      (Ubuntu)
    • Re: error email from Cron
      ... >>Well, I've found the problem, but still don't know how to fix it. ... > No, you run cron, not crontab. ... and once as root. ... >>Below is an excerpt from the cron log. ...
      (linux.redhat.misc)
    • Re: cron not running job
      ... > I'm having problems getting my freshly update FreeBSD 5.3 system to ... > run my cron jobs. ... > crontab with the following command ... > I can run the script as root with no errors. ...
      (freebsd-questions)