- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- crontab in suse linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 03:47 AM
тАО05-15-2009 03:47 AM
I am using Suse linux.
I issued following command to view the crontab entries.
>crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.10132 installed on Fri Feb 27 13:40:47 2009)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.1933 installed on Tue Jun 17 14:49:55 2008)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
What is the meaning of "DO NOT EDIT THIS FILE - edit the master and reinstall."
pls explain me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 04:53 AM
тАО05-15-2009 04:53 AM
Re: crontab in suse linux
I am not sure about SUSE, but HPUX used to have a tool called cronedit, which did basically crontab -e, but placed a lock on the crontab file, making sure that only one user at a time was changing it.
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 05:35 AM
тАО05-15-2009 05:35 AM
Re: crontab in suse linux
Debian uses this too, but it adds this comment to the man page of the crontab command:
-------------
DEBIAN SPECIFIC
The "out-of-the-box" behaviour for crontab -l is to display the three line "DO NOT EDIT THIS FILE" header that is placed at the beginning of the crontab when it is installed. The problem is that it makes the sequence
crontab -l | crontab -
non-idempotent -- you keep adding copies of the header. This causes pain to scripts that use sed to edit a crontab.
-------------
In other words, your crontab has probably been edited by a script. Maybe an installation script of some application?
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 08:18 PM
тАО05-15-2009 08:18 PM
Re: crontab in suse linux
>>meaning of "DO NOT EDIT THIS FILE
You can not edit this file by vi editor.
For adding anything, you have to use
#crontab -e
then save the the file.
Check below link for details.
http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.3/suselinux-adminguide_en/cha.suse.html
If it helps , pls assign point.
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 09:26 PM
тАО05-15-2009 09:26 PM
Re: crontab in suse linux
It would suggest if that's what it meant, it should have said that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 06:13 AM
тАО05-18-2009 06:13 AM
Re: crontab in suse linux
The 'Vixie' implementation (and more about the history of the crontab) is discussed here:
http://en.wikipedia.org/wiki/Cron
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 09:47 PM
тАО05-18-2009 09:47 PM
Re: crontab in suse linux
What is the meaning of "DO NOT EDIT THIS FILE - edit the master and reinstall."
It means do not edit thil file using vi editor.
For editing or other operation of cron, please read the belo links:
http://docs.huihoo.com/opensolaris/system-administration-guide-advanced-administration/html/ch15s04.html
http://www.adminschoice.com/docs/crontab.htm
Rgds-Kranti