I saw this included "at rollover" and didn't read the following bit properly, and just assumed that I could FTP a file "At End of Day" and then use the at Rollover function to run the Import process to my database.
Did NOT notice those words saying "just before"!! Any chance of there being a "5 mins after option"?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Custom Http Call
Moderator: mcrossley
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Custom Http Call
Just before is "end of day" isn't it ?
......................Imagine, what you will KNOW tomorrow !
- HansR
- Posts: 5964
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Custom Http Call
A free to define nr of minutes after rollover would be nice. Not only for custom http but also for run of external program..
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- PaulMy
- Posts: 3849
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Custom Http Call
David, would using the Minutes interval be feasible? i.e. 1440 set at 00:05
I haven't tried it and not sure what the maximum minutes, or seconds, are.
Enjoy,
Paul
I haven't tried it and not sure what the maximum minutes, or seconds, are.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- Posts: 1817
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Custom Http Call
I'm not sure it works like that.
You could manage it once by putting in 1441 and hitting save right at the stroke of midnight, but it'll not work again if CMX has to be restarted.
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Custom Http Call
Be aware that the extra files are processed (and copied) during the day reset, but will not be FTP'd until the next FTP interval, which is asynchronous to the day reset.
The best way of doing stuff like this is to take control of it yourself...
The "external program" is called at the end of day reset processing (but before the end of day extra files processing - hmm, maybe that should change). I'd use that to call a script to do whatever you want, that could include a 5/10 minute delay at the start if you wish.
For instance I use it to run a database export and then backup the Cumulus data files, the dB export, and my web site to an external server.
The best way of doing stuff like this is to take control of it yourself...
The "external program" is called at the end of day reset processing (but before the end of day extra files processing - hmm, maybe that should change). I'd use that to call a script to do whatever you want, that could include a 5/10 minute delay at the start if you wish.
For instance I use it to run a database export and then backup the Cumulus data files, the dB export, and my web site to an external server.
- HansR
- Posts: 5964
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Custom Http Call
Not sure if the reversal of the "external program" and the "end of day extra files processing" would be a good idea. If the external program creates a file which should be processed, reversal would mean the processing would only take place a whole cycle later. That's probably not intended by the user.mcrossley wrote: ↑Wed 12 Feb 2020 1:58 pm The "external program" is called at the end of day reset processing (but before the end of day extra files processing - hmm, maybe that should change). I'd use that to call a script to do whatever you want, that could include a 5/10 minute delay at the start if you wish.
NOTE: that is already taking place at the 'FTP' cycle (the NOT daily and NOT realtime cycle). The uploaded processed file is produced one cycle before.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Custom Http Call
Agreed, there are use cases for having it either way around. But it's been that way round forever, so it stays that way.HansR wrote: ↑Wed 12 Feb 2020 2:12 pm Not sure if the reversal of the "external program" and the "end of day extra files processing" would be a good idea. If the external program creates a file which should be processed, reversal would mean the processing would only take place a whole cycle later. That's probably not intended by the user.