|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I am getting mail from root:
"can't access your crontab file. Resubmit it." The error is "No such file or directory" Also I observed that this mail is sent when I get a cron log message in /var/cron/log: ! unexpected pid returned 22459 (ignored) Mon Mar 14 18:45:15 2005 When I checked the above pid it was of /usr/sbin/cron Would anyone tell me what the reason can be? At least please give me some options so that I can proceed with that. Thanks a lot in advance simam |
|
#2
|
|||
|
|||
|
Quote:
Hi, look in /var/spool/cron/crontabs/ directory. There should be a file named $LOGNAME (your logname), where your jobs are stored. You must be allowed to submit cron jobs, ask your system administrator. Normaly, only root can submit cron jobs. Look in man cron, man crontabs Regards ![]() |
|
#3
|
|||
|
|||
|
Hi zlutovsky,
Thanks a lot for you suggestions. But in this case I am working in the root equivalent account and it is allowed to submit cronjobs. Also all the time it is not giving the mail. Only when the error "unexpected pid returned" comes in the /var/crom/log , I am getting a mail from the root. I came to know that there is a chance of cron file getting corrupted if we edit it by using vi editor. If it is that case, writing the cron file afresh will solve the problem? ( I mean using crontab -e). Thanks and warm regards, simam |
|
#4
|
|||
|
|||
|
NEVER edit crontabs directly usin an editor
crontab -e make a lot more the just edit. if corrupted, remove it, create a new one stop and restart cron on SVR4 use /etc/rc2.d/S??cron man crontab will point you to files in /etc/cron.d have a loock, carefully pay attention to NOTE
__________________
working on Solaris[5-9], preferred languages french and C. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > "can't access your crontab file. Resubmit it."- Crontab error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|