> Now just directing everything to /dev/null might not be Kevin's best This is my best option.
The mail package has a logging facility. This cronjob just tries to restart a delivery queue, so that IF, for some reason, a message isn't delivered, it'll retry again a few minutes later. Each try will be logged by the mail logger as well. I'm not ignoring the logs. The error is a result of me starting a process that is already running, and cannot be ran multiple times simultaneously. So I get errors saying essentially "What are you thinking, moron, this is already running, there's nothing in the queue, leave me alone..." A similar situation may result if I was to add a cron job so calling httpd every 5 minutes, in case httpd stops for some reason. There will still be a log in /var/log/httpd, but cron will also tell me that this is already running, I'm an idiot for calling this over and over. Mail stalling in the queue isn't common, in fact, it's only happened twice, I hope that this script is simply a waste of time, but having said that, I'll be in Disneyworld, and I don't want to be half way through Space Mountain and have to try to talk someone through doing this. There's zero chance that I'll even bring a phone with me to Discovery Cove. I realize that this problem CAN happen, and so I'm taking action to prevent it in advance. The method I'm using to accomplish it is overkill (with Sendmail, I'd say "sendmail -q" (from (very bad) memory)), but here, I'm saying "omon -s all". Start ALL openmail services. Since they're already running (or they should be), I get an error. Again, I don't expect that I need this, but it's far easier to leave cron retry it every 5 mins JUST IN CASE, than to try to fix it (or even alert me to the problem) when I'm in Florida. I don't need a record of the error from cron, because the mail server's own logging facility will already be providing it, and (depending on the problem) emailing me with the error message so that I'm aware of the issue, should I be stupid enough to look at it while I'm gone. Kev.
