Thank you thank you Leon!  That's what I could not find for the life of me!

Regards 

Bill


On Wednesday, August 7, 2019 at 12:58:46 PM UTC-4, Leon Shaner wrote:
>
> I have an example wunderfixer_wrapper script and corresponding crontab 
> example, here:
>
> https://github.com/UberEclectic/weewx/tree/watchdog/examples/watchdog
>
> You can ignore the watchdog if you want, because they're independent (but 
> complimentary) utilities.
> If you want only the wunderfixer_wrapper then you just need to copy it 
> someplace and make the crontab entry match the path.
>
> Important note is that the crontab needs to be tied to the user that can 
> actually run wunderfixer.
> For many that means "sudo crontab -e" so it's root's crontab.
> But if you are running weewx as some user other than root, then become 
> that user and then just use "crontab -e" to add the entry.
>
> There are other changes within the wunderfixer_watchdog script which you 
> may need to change if you are not running weewx as root, for example where 
> to put the supplemental logs that the script writes, which are for 
> debugging purposes.  I've left some comments in the script showing 
> alternatives.
>
> Do pay attention to the logrotate example per the readme.txt, so that your 
> supplemental log doesn't grow to infinity.  It's that first line in the 
> logrotate file that needs to point to wherever you have wunderfixer_wrapper 
> writing the supplemental logs.  If running as root, the example works as 
> is, since root can write to /var/log and the wrapper will create 
> /var/log/weewx.log.  If running as some non-root user you can't keep that 
> default log path because /var/log needs super-user privileges.
>
> Regards,
> \Leon
> --
> Leon Shaner :: Dearborn, Michigan (iPad)
>
> On Aug 7, 2019, at 10:04 AM, CablDeViL <[email protected] <javascript:>> 
> wrote:
>
> 
> Good Day,
>
> I have searched the forums but I have not found the proper flags to run 
> with Wunderfix on my Cron job.
>
> Nor could I locate the best practices for times and tweaks to use on a Pi2.
>
> If anyone can point me to a github doc or such. I haven't even downloaded 
> it yes as I am doing research for my upgrade from a Pi1 to a Pi2
>
> I do see great debate with the new and old APIs and Wunderfix so I am not 
> sure if I should just hold off for a quarter to see how it plays out.
>
> Thank you
>
> Bill
>
>
> -- 
> 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 [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/dd63df72-4b79-4ae6-a8b4-eb3d65cb8ccd%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/dd63df72-4b79-4ae6-a8b4-eb3d65cb8ccd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b143afc5-9314-4cf8-86ae-c175b06f9e31%40googlegroups.com.

Reply via email to