Home » Infrastructure » Unix » Unable to edit CRONTAB
Unable to edit CRONTAB [message #253786] Tue, 24 July 2007 16:41 Go to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
Hi Guys,
I'm unable to edit crontab,i can view the contents but i cant edit it.
Here's what i did.

$ crontab -e
7549

?
The crontab file was not changed.
$


$ crontab -l
#BEWARE - BLANK LINES CAUSE ERRORS IN THIS VERSION OF CRON!!!
#This file will be scheduled by the cron command
#Format of lines
#min hour daymo month daywk /etc/cbkupscd > /dev/console 2> /dev/console
#       min   - time of hour
#       hour  - hour of day
#       daymo - day(s) of month (1,2,...31)
#       month - month(s) of year (1,2,...12)
#       daywk - days of week (0-6, 0=Sunday)
#       e.g.
#----------------------------------------------------------------------------------------------------------------------
# This is for Oracle Daily Statistics


When i logon to this box i get this message
/etc/profile[88]: /etc/profile.CA:  not found

does it have any relation with crontab
Any Suggestion.??

[Updated on: Tue, 24 July 2007 16:44]

Report message to a moderator

Re: Unable to edit CRONTAB [message #253789 is a reply to message #253786] Tue, 24 July 2007 16:53 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>does it have any relation with crontab
IMO, no.
>/etc/profile[88]
mean the 88th line in /etc/profile is generating an error
Any Suggestion.??
I never, ever use crontab -e 'cuz I lost a LARGE crontab file while using it & had a system crash.
I do the following:
crontab -l > crontab.$USER
vi crontab.$USER
crontab crontab.$USER

HTH & YMMV
Re: Unable to edit CRONTAB [message #253791 is a reply to message #253789] Tue, 24 July 2007 17:20 Go to previous message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
Thanks for Information.
Previous Topic: xclock not working
Next Topic: Unix
Goto Forum:
  


Current Time: Fri Nov 22 04:49:04 CST 2024