[lug] Automatic removal of cron job by cron script
    karl horlen 
    horlenkarl at yahoo.com
       
    Tue Nov  6 00:24:57 MST 2007
    
    
  
> Rather than use a file (is that a semaphore?) I'd
> check that the alert 
> script is running.  If something has killed it, it
> gets restarted when 
> the cron runs.  You could also have the monitor kill
> the alert when the 
> problem clears (but maybe it needs to stop sooner
> than the next cron run).
I'll give this a look.
> But wouldn't Big Brother, Nagios, or one of the
> other monitoring tools 
> be better to use?  (I keep telling people they don't
> want to reinvent 
> applications and they keep telling me no, they
> really do.)
You're probably right.  I haven't used Nagios before
though.  Since I'm only really needing to monitor this
one condition I thought a simple cronjob would be more
practical.  Maybe it's time to dig in and learn it.
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
    
    
More information about the LUG
mailing list