The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Trying to run java file in crontab karmariv UNIX for Dummies Questions & Answers 1 04-07-2008 04:12 AM
How to compile a stored procedure that is there with in a script file(.sql) in unix krishna_gnv Shell Programming and Scripting 0 03-11-2008 03:25 AM
need help to write crontab file deepa20 Shell Programming and Scripting 4 02-06-2006 08:34 AM
crontab file mclaughline Filesystems, Disks and Memory 1 08-17-2005 10:21 PM
Directory where spooled file is stored babulilly UNIX for Advanced & Expert Users 1 10-22-2002 03:34 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-18-2008
rajbptl rajbptl is offline
Registered User
  
 

Join Date: Apr 2007
Location: India
Posts: 1
Thumbs down Where is the crontab file stored

i want find the place where the crontab file is stored i dont mean in /etc/cron. when we list crontab -l it will list the schedule jobs , does this content is stored in some directory as a file..
Please clarify
  #2 (permalink)  
Old 01-18-2008
adderek adderek is offline
Registered User
  
 

Join Date: Sep 2007
Location: Poland
Posts: 110
Thumbs down

Don't expect it to be in a file. Depending on the implementation on some systems it could be kept in a DB or anywhere else. Don't even dig into it.
If you really need this then specify why.
  #3 (permalink)  
Old 01-18-2008
ennstate ennstate is offline
Registered User
  
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
I guess it will be stored /var/spool/cron/ but we only root has permission for those directories

Thanks
Nagarajan G
  #4 (permalink)  
Old 01-18-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
If root edits the files directly, changes will not take effect in most cases and can even be lost. With most versions of cron, the answer to the question is "in memory". Those files are read only as cron starts up. The alternative would be to reread them every minute which would put quite a load on the system. It is critical that you use the crontab command to view and change those files. The crontab command interacts with cron to change the tables in cron's memory.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0