On 2008-11-08 09:43:28 PM, Jon Stanley wrote:
This should prevent us from executing the same awstats analysis at the same time, thereby eliminating the nagios alerts for crond on log1. Since I'm not in sysadmin-web, I don't feel real comfortable deploying this without someone telling me it's OK and that it looks sane :)
I think you forgot to rm the lock file when it finishes :-) Otherwise, it looks good. If you want to take it a step further and account for stale lockfiles, take a look at what Mike did in configs/system/syncStatic.sh.
Thanks, Ricky