Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Twitter timer

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
User avatar
daj
Posts: 2041
Joined: Tue Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Twitter timer

Postby daj » Mon Jan 04, 2016 9:09 pm

If I set MX (build 3036) to Tweet in intervals of 1 (assuming minutes) it will Tweet.

I want to tweet every six hours so set the interval to 360 but it never tweets.

I'll start experimenting with the number to see if I can find a fail point, however is anyone else using auto tweet in MX with a longer interval?
David
kippfordweather.uk
Cumulus MX & Raspberry Pi

User avatar
jdc
Posts: 134
Joined: Tue Jun 19, 2012 8:51 pm
Weather Station: Davis VP2 : Instromet
Operating System: Win 10 : Win XP
Location: Berwick-upon-Tweed, England.
Contact:

Re: Twitter timer

Postby jdc » Tue Jan 05, 2016 1:30 am

FWIW I have mine set at 120 and has been/is working fine. (on MX)

User avatar
steve
Cumulus Author
Posts: 26516
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter timer

Postby steve » Tue Jan 05, 2016 8:38 am

Do you ever close MX down? Any 'non-synchronised' interval for any Cumulus action first takes place at the configured interval from when Cumulus started. A 'synchronised' interval is an interval in minutes which is a factor of 60.

I hope to add a more sophisticated scheduling mechanism eventually, so for example you could schedule updates every six hours on the clock - 00:00, 06:00, 12:00 etc - perhaps that's what you were expecting with your 6 hour interval?
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
daj
Posts: 2041
Joined: Tue Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter timer

Postby daj » Tue Jan 05, 2016 6:27 pm

I haven't shut down MX in several days. I will restart it and see what happens for the 360
David
kippfordweather.uk
Cumulus MX & Raspberry Pi

User avatar
steve
Cumulus Author
Posts: 26516
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter timer

Postby steve » Tue Jan 05, 2016 6:32 pm

Assuming you have debug logging on, there should be messages about updating Twitter in the diags file, and any errors logged in there anyway.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
daj
Posts: 2041
Joined: Tue Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter timer

Postby daj » Tue Jan 05, 2016 7:48 pm

There was nothing in the standard logging. I've turned on debugging and I set the interval for Twitter to five mins -- which worked. I've now set it to 360 and will report back tomorrow.

FYI : MX has not been restarted since 31 Dec
David
kippfordweather.uk
Cumulus MX & Raspberry Pi

User avatar
daj
Posts: 2041
Joined: Tue Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter timer

Postby daj » Wed Jan 06, 2016 9:34 am

Nothing in the debugging logs either.

It Tweeted at 7:45pm last night then nothing after that. I'd have expected something around 1:45am and 7:45am. I've searched the log file and there's no mention of 'Twitter' after 7:45pm.

It's almost as if Cumulus forgets/resets the timer at some point. :o
David
kippfordweather.uk
Cumulus MX & Raspberry Pi

User avatar
steve
Cumulus Author
Posts: 26516
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter timer

Postby steve » Wed Jan 06, 2016 9:58 am

It definitely doesn't do that. Having changed the interval to 360, did you restart MX? Some settings changes currently require that.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
daj
Posts: 2041
Joined: Tue Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter timer

Postby daj » Wed Jan 06, 2016 10:01 am

steve wrote:It definitely doesn't do that. Having changed the interval to 360, did you restart MX? Some settings changes currently require that.


No, I never needed to restart when I was changing the interval from 1, 5, 10 etc. I will restart it now and see how it goes.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi

User avatar
steve
Cumulus Author
Posts: 26516
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter timer

Postby steve » Wed Jan 06, 2016 10:11 am

Changing from a 'synchronised' value to a non-synchronised value will currently require a restart, to start the timer.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
daj
Posts: 2041
Joined: Tue Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter timer

Postby daj » Fri Jan 08, 2016 3:59 pm

Just to finish off the thread....I'm delighted to report that my 360 minutes interval does work if I restart Cumulus.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 6 guests