Crontab Problem

Posted on 2012-09-06
Last Modified: 2012-09-06
I am trying to edit the crontab on my server.  However each time i go in there i end up in a temp file.

"/tmp/crontab.XXXXv2Rm9Y" 0L, 0C

I am in as root.

My version is 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:13:52 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Question by:deklinm
    LVL 68

    Accepted Solution

    That's quite normal.

    The "crontab" utility updates a temporary file copied from the original.
    When you save it crontab performs a syntax check in the background and then copies the temporary file over the original.

    If you issue the crontab utility again you will notice that the table in question has indeed been updated.

    Author Comment

    how do i see the current items in the crontab file?
    LVL 68

    Expert Comment

    Seems there is no crontab file yet, so you're presented an empty file to be populated.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now