Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.6.10 (build 3086) - 24 June 2020 (please see important announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

See the Wiki to download the software or click on the Downloads link in the Forum Banner.

Twitter timer

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

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

Twitter timer

Post by daj »

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: 142
Joined: Tue 19 Jun 2012 8:51 pm
Weather Station: Davis VP2 : Instromet
Operating System: Win 10 : Win XP
Location: Berwick-upon-Tweed, England.
Contact:

Re: Twitter timer

Post by jdc »

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

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

Re: Twitter timer

Post by steve »

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

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

Re: Twitter timer

Post by daj »

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: 26704
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter timer

Post by steve »

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

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

Re: Twitter timer

Post by daj »

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 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter timer

Post by daj »

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: 26704
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter timer

Post by steve »

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

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

Re: Twitter timer

Post by daj »

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: 26704
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter timer

Post by steve »

Changing from a 'synchronised' value to a non-synchronised value will currently require a restart, to start the timer.
Steve

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

Re: Twitter timer

Post by daj »

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

Post Reply