LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2008, 04:10 PM   #1
Canis Polaris
LQ Newbie
 
Registered: May 2007
Posts: 15

Rep: Reputation: 0
Install a crontab file


I am looking at our crontab and the first line reads:
# DO NOT EDIT THIS FILE - edit the master and reinstall.

I have been editing the file using crontab -u username -e

Is this what is meant by "edit the master and reinstall"?
If not, where would I find the master and how should I reinstall it?

Thanks,

Gregory
 
Old 06-04-2008, 04:56 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Yes. Usually you don't edit the crontab file, but use the crontab command:
Code:
crontab -e    # edit the crontab
crontab -l    # list the content of the crontab
crontab -r    # remove (empty) the crontab
 
Old 06-04-2008, 05:07 PM   #3
Canis Polaris
LQ Newbie
 
Registered: May 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Grazie mille!
 
Old 06-04-2008, 05:11 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
....prego!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send a html file as an file attachment to my mail from crontab? GRD Linux - Newbie 2 06-03-2008 12:39 PM
How to write crontab to check file size and all file in a directory? modpriest Linux - Newbie 1 02-14-2008 07:48 AM
crontab file wahoo_128 Linux - Newbie 1 12-17-2007 01:27 PM
Crontab file located in,,, where? jon_k Linux - Software 4 07-04-2004 02:26 PM
CRONTAB file scottpioso Linux - General 14 11-29-2003 02:38 PM


All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration