This content has been marked as final. Show 4 replies
It sounds like your cronjob, which is running as the 'informix' user, is trying to kill processes belonging to other users. This will not work. To kill processes owned by other users you would have to run it as 'root'.
As an alternative you may modify your script so it only tries to kill processes owned by 'informix'..
I tried to run the cron job as a root. But it neither killed the idle sessions nor through any error message to /usr/mail/root.
It didnt do anything to kill the idle users. Do i need to do any changes in any of the files or any changes to permissions to make it to run?
Please help me out to solve this problem.
Stupid question: Is the password for 'root' expired? Cron jobs will not run for users with expired or locked passwords...
If you are to kill any user, not just the user as which you are running the cronjob you will have to run the cronjob as root. If it doesn't give the expected behaviour you should start debugging it from there..