Maarten - Sorry for resurrecting this thread - but this is something I am looking at doing ... would you be willing to share your template and cron job that you used?
On Wednesday, May 31, 2017 at 5:28:55 AM UTC-4, Maarten van der Hoeven wrote: > > Hi, > > > > Thanks for the suggestion, most useful. I’ve followed it, and it is > working nicely now on top of the hour (crontab). I use twidge to post the > created datafile to twitter (#welsum). > > > > Thanks! > > > Op dinsdag 30 mei 2017 13:50:10 UTC+2 schreef mwall: >> >> >> >> On Sunday, May 14, 2017 at 3:34:47 PM UTC-4, Maarten van der Hoeven wrote: >>> >>> Hi, >>> >>> I've configured a Twiiter-feed in Weewx, working perfectly. With >>> post_interval=3600, I told weewx to send the twitter feed every hour. >>> Working okay. >>> >>> But, this hourly feed is initiated when weewx is started. For example, >>> if I start weewx at 08:17, immediately a twitter feed is send, the next one >>> to follow at 09:17. However, I want the twitter feed to be send at the top >>> of every hour. 08:00, 09:00, 10:00, regardless the time I start weewx. >>> >>> Is this possible? How? >>> >> >> hi maarten, >> >> the weewx uploaders are designed to send data as soon as there is >> something new to send, i.e., when there is a change to the data. they are >> not designed operate based on the clock. >> >> so there is no explicit way to do what you want with the weewx-twitter >> extension. >> >> one way to do what you want is to make a new skin with a template that >> spits out to file the data you want to tweet. then write a shell script >> that tweets that file. then make a crontab that invokes the script at the >> top of each hour. >> >> m >> >> >> >> -- 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]. For more options, visit https://groups.google.com/d/optout.
