• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 611
  • Last Modified:

Crontab Problem

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
0
deklinm
Asked:
deklinm
  • 2
1 Solution
 
woolmilkporcCommented:
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.
0
 
deklinmAuthor Commented:
how do i see the current items in the crontab file?
0
 
woolmilkporcCommented:
Seems there is no crontab file yet, so you're presented an empty file to be populated.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now