|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
can't open your crontab file error
I've encountered the error when i try to edit corntab -e, pls help me i also try viewing /etc/cron.d directory I'm not in the deny access what should i do?
I'm running UNIX Solaris 2.xx x86/intel platform thanks |
|
#2
|
|||
|
|||
|
is your user in the /etc/cron.d/cron.allow ?
post the error mssg && uname -a |
|
#3
|
|||
|
|||
|
I'd copy cron.d directory from other terminal tru network and execute crontab -e command and I succesfully opened and edited crontab file, maybe the crontab file is corrupted thats why i cannot open crontab file before
|
|
#4
|
|||
|
|||
|
NO crontab is not in cron.d dir
![]() |
|
#5
|
|||
|
|||
|
Try /var/adm/crontab/ to look for them. My memory is a bit vague when it comes to Solaris.
As for the possibility of your file being corrupted, are you sure that you have your .allow in working order? |
|
#6
|
|||
|
|||
|
Have you logged in as "su"?
|
|
#7
|
|||
|
|||
|
Nice try - that thread WAS 3/12 years deceased!
![]()
__________________
"I feel so miserable without you; it's almost like having you here" - Stephen Bishop |
|
#8
|
|||
|
|||
|
I am facing the same error when I run crontab -l though it working for other user ids.
I checked for entry in cron.allow and entry was present, nothing in cron.deny. Can someone suggest? |
|
#9
|
|||
|
|||
|
Does that user have any cron entries?
What error message do you get? Creating a new thread may have been better! |
|
#10
|
|||
|
|||
|
Quote:
crontab -e was working i was able to open the temp file, added some entries to it. :w :x then crontab -l failed. then crontab -e shows empty file. |
|
#11
|
|||
|
|||
|
Update:
Problem resolved. Cause: I was saving the file with :w :x Solution: Save the temp file after crontab -e as :w followed by :q ![]() |
|
#12
|
|||
|
|||
|
Ahh, the old "lets' do the edit and not bother save it afterwards" ploy - an old favourite!
![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > can't open your crontab file error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|