Hi
I am not able to kill the process , The process should kill at night time. I am using following way.
if [ $? != 0 ]; then
/usr/bin/kill -9 `ps -ef | /usr/bin/grep 413 | /usr/bin/grep offleasegear.com_NOSSL | /usr/bin/awk '{print $2}'`
/usr/bin/echo "Forcibly stopped offleasegear.com_NOSSL instance at\n `/usr/bin/date`\n"
fi
it is printing the PID, but it is no killing the process some times.
Is there any other method to kill the process.
Can any one help me
Thanks
Karan
I am not able to kill the process , The process should kill at night time. I am using following way.
if [ $? != 0 ]; then
/usr/bin/kill -9 `ps -ef | /usr/bin/grep 413 | /usr/bin/grep offleasegear.com_NOSSL | /usr/bin/awk '{print $2}'`
/usr/bin/echo "Forcibly stopped offleasegear.com_NOSSL instance at\n `/usr/bin/date`\n"
fi
it is printing the PID, but it is no killing the process some times.
Is there any other method to kill the process.
Can any one help me
Thanks
Karan