Re: Crontab Mystery

From: Bill Carlson (wcarlson_at_vh.org)
Date: 12/17/03

  • Next message: Benjamin J. Weiss: "Re: Cannot relay email through mail server"
    To: redhat-list@redhat.com
    Date: Wed, 17 Dec 2003 13:57:25 -0600 (CST)
    
    

    On Wed, 17 Dec 2003, Matthew Galgoci wrote:

    > On Wed, 17 Dec 2003, Peter Fleck wrote:

    > > 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?
    >
    > /etc/crontab is the system wide cron file.

    And yes, you can edit /etc/crontab with any editor. crontab is used to
    keep two people or sessions from editing the same crontab at the same time
    as well as simple sanity checks.

    Bill Carlson

    -- 
    Systems Administrator    wcarlson@vh.org      | Anything is possible,
    Virtual Hospital      http://www.vh.org/      | given time and money.
    University of Iowa Hospitals and Clinics      |       
    Opinions are mine, not my employer's.         | 
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Benjamin J. Weiss: "Re: Cannot relay email through mail server"

    Relevant Pages

    • Re: How to edit a crontab file within a script when not root
      ... > I am looking for an automated way to edit a crontab, as root I can use sed ... As a non root user I am not allowed to edit the file. ... crontab $HOME/crontab ...
      (comp.unix.shell)
    • Re: cron file location
      ... > crontab actually is a file, not a command, correct? ... > But if I create tempfile, then it is not the file that UNIX looks ... I prefer to edit a copy and then submit the copy. ... are kept, I edit a copy before submitting it, and by submitting it with ...
      (comp.unix.shell)
    • cron job under Cygwin, Cygwin runs on WinXP
      ... I intend to run a cron job on Cygwin. ... # DO NOT EDIT THIS FILE - edit the master and reinstall. ... I suspect it is the priviledge problem, so I type "crontab -u {myWinXP ...
      (comp.unix.questions)
    • problem with cronjob run on Cygwin, Cygwin is running on WinXP
      ... I intend to run a cron job on Cygwin. ... # DO NOT EDIT THIS FILE - edit the master and reinstall. ... I suspect it is the priviledge problem, so I type "crontab -u ...
      (comp.os.linux.misc)
    • Re: KDE
      ... But Yast can edit fstab quite nicely. ... So I'm sure that it could be made to edit also iptables, smbaconf and crontab. ...
      (alt.os.linux.suse)