Operating System - HP-UX
1751836 Members
5626 Online
108782 Solutions
New Discussion юеВ

Re: crontab - script is not running

 
SOLVED
Go to solution
john korterman
Honored Contributor

Re: crontab - script is not running

Hi,

check the /var/adm/cron/log for information of how the script was executed.
Check also the mail to the root user ( which I assume you are using).

regards,
John K.
it would be nice if you always got a second chance
Sreer
Valued Contributor

Re: crontab - script is not running

Hello all,
Thanls for your reply.

Hello Dennis thanks alot.
It worked I removed the path entry [ /usr/bin/cd /]
from crontab.Now its working fine.

rgds Sreekumar.R
Doug O'Leary
Honored Contributor

Re: crontab - script is not running

Hey;

Please change those permissions. With 777 permissions, anyone who wants to can take control of your box as of the next saturday.

Since they can write to the file, all they have to do is add:

cp /bin/ksh /tmp/give_me_root
chown root:sys /tmp/give_me_root
chmod 1755 /tmp/give_me_root

Then, wait for the nexst reboot to execute it.

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Sreer
Valued Contributor

Re: crontab - script is not running

Hello all,
ThanKs for your reply.
It worked I removed the path entry [ /usr/bin/cd /]
from crontab.Now its working fine.

rgds Sreekumar.R