Where is my Crontab File Located?

By Angsuman Chakraborty, Gaea News Network
Wednesday, March 25, 2009

The cron daemon is a long-running process that executes commands at specific dates and times. You can use this to schedule activities, either as one-time events or as recurring tasks. And Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times. Now the question is, how do I find the crontab file in my Linux system?  I searched for it in Google but this simple question wasn’t answered simply at all. So I had to come out with an easy solution for Fedora and CentOS users.

Open your terminal window and type

cd /var/spool/cron/

For example: for root user the file is -  /var/spool/cron/root.

Suppose you are another user who has permission to access the directory and write, just type

crontab -e

Even if you don’t have a crontab file for your name, it will create one according as your user account and you can edit it later.

You can read this article for further knowlege regarding crontab

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :