Hey everyone,
I have a cron script (
http://pastebin.ca/803903 ). I edited crontab using "crontab -e" and added the line (
http://pastebin.ca/803905 ). I DO have sendmail installed and running (I have send emails successfully from command line and also php scripts).
My problem is as follows: When the anope services daemon is not running, the cron script starts it, and outputs some text (Which I want to to be emailed to me). But cron opens up defunct zombie processes for sh and sendmail and I must kill the cron process.
The output of "ps -ef" showing the defunct processes is at
http://pastebin.ca/803916
The sendmail process stays there until I kill the "/USR/SBIN/CRON" process.
How can I solve this? All I want is to be emailed when the services daemon isn't found. I'm running Ubuntu 7.10 Gusty.