Thanks for your quick response. I have no fixed IP from my ISP, my DynDNS
IP is checked and updated every 5 minutes

I am running a Davice Vantage Pro with WeatherLink IP

As attached file the log and my conf file

Thanks again

2018-05-24 14:56 GMT+07:00 Andrew Milner <andrew.s.r.mil...@gmail.com>:

> Weewx does not crash without a reason.  Believe me - it doesn't.
>
> What does the log have to say around the time of the crashes.  Fixing the
> cause of your crashes is the right way to go about fixing the problem
> rather than trying a sticky plaster approach with automated restarts.
> Automated restarts are just the wrong way to go about this - believe me.
>
> Can you tell us your station type, install method and attach a log and/or
> config file and say what skin(s) or extensions you are using.
>
> Then we can help you sort out your problems.
>
> If you are using a raspberry pi have you also checked the weewx wiki for
> advice on using weewx with a raspberry pi
>
>
> On Thursday, 24 May 2018 09:42:18 UTC+3, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/c3NEhifi_Ro/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.

Attachment: weewx.conf
Description: Binary data

Attachment: weewy.log
Description: Binary data

Reply via email to