Hello,

Having you station on Internet could be an other root of yourr problem: 
hackers interfering/disrupting your connections. Most stations I know have 
little, if any, protection against hackers. So check your firewall. You can 
also install a spy, using wireshark for example, recording all in/out 
coming data to your weather station.

Good luck!     Paul

On Thursday, May 24, 2018 at 8:42:18 AM UTC+2, Mike wrote:
>
> Hi guys,
>
> my Weewx is crashing time by time.
>
> I am looking for a script which is checking the status of Weewx every 
> hour. In case Weewx was crashing the script is starting Weewx.
>
> My Linux knowledge is not the best at all. Looking like something: It does 
> not work.
>
> #!/bin/bash
> #weewx check
> if ps x | grep -v grep | grep -v checkweewx.sh | grep -c weewx >/dev/null
> then
> echo "weewx .... ok"
> else
> echo ""
> date >> /etc/weewx/weewx.fail
> echo "weewx crashed ... restarting now" >> /usr/local/
> sleep 1
> /etc/init.d/weewx start
> fi
>
> Thanks
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to