|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Crontab
Hello. I understand the basics of crontab. I added two entries to my crontab file a few months ago and now they don't work any more. I haven't done anything to the script in the crontab file nor I have done anything to the file that the scripts output to.
Any suggestions of where I should look to resolve this problem? I'm still fairly new with using UNIX. Thanks! |
|
#2
|
|||
|
|||
|
couple of things come to mind.
cron isn't running? This is a daemon that executes crontab. Your crontab access has been removed. If you are listed in /etc/cron.d/cron.deny(if exists) or not in /etc/cron.d/cron.allow. Check your man page...man -k for more info |
|
#3
|
|||
|
|||
|
Quote:
Hello, somebody can have changed the PATH variable, too. Check your mail, where you can find some hints. If I were you, I would redirect the stdout and stderr from your cron job into files. It makes it possible to catch the error messages easily. Regards ![]() |
|
#4
|
|||
|
|||
|
Hmmm... I think I found the problem. First, thanks for the help. I was sure cron was running because two other scripts were working. I checked the /usr/lib/cron/log file and noticed that the two scripts in question were in that file. So, I decided to try and run the scripts manually and that didn't work. I got an argument of "execute permission denied." I checked the permissions on the scripts and they weren't right.
Now I'm wondering how and why the permissions changed?!?! |
|
#5
|
|||
|
|||
|
please help me.
i made a script... the script cannot work... the error message appear is SQLPLUS cannot execute i have already prepared the sqlplus at the proper path but script cannot execute..."sqlplus cannot execute"...i try use login root and usual user.still cannot work. but when i run normal mode it work. something problem when i use crontab with my script...help me |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Crontab |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|