LinuxQuestions.org
Help answer threads with 0 replies.
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, 03: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, 03:56 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
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, 04:07 PM   #3
Canis Polaris
LQ Newbie
 
Registered: May 2007
Posts: 15

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

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
....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 11:39 AM
How to write crontab to check file size and all file in a directory? modpriest Linux - Newbie 1 02-14-2008 06:48 AM
crontab file wahoo_128 Linux - Newbie 1 12-17-2007 12:27 PM
Crontab file located in,,, where? jon_k Linux - Software 4 07-04-2004 01:26 PM
CRONTAB file scottpioso Linux - General 14 11-29-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 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