>
> A simple shell script will do the same thing.  I put something similar 
> below in my cron to run every 10 minutes.
>

#!/bin/bash

a=`ps -ef | grep weewxd | wc -l`
        if [ "$a" -gt "1" ]
        then exit
        else
        ** Your alerting/email command goes here **
        fi 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3137893b-e9aa-42b4-a472-e6ec1d17ddff%40googlegroups.com.

Reply via email to