Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Dayfile Issue

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
Cliff
Posts: 19
Joined: Mon 15 Oct 2012 1:27 am
Weather Station: Davis Vantage Vue
Operating System: Windows 7 SP1
Location: Campbellford, Ontario, Canada
Contact:

Dayfile Issue

Post by Cliff »

Steve,

Using the nicely detailed instructions in the Wiki, I have set up a couple of batch files to take care of uploading the dayfile to 000webhost.com as a php file rather than a txt file since they don't support text files. The first batch file just copies dayfile.txt to dayfile.php in the same folder. This I have set up as a Windows service at 12:03am assuming the "daily" upload would take place at 12:05am as I have my interval set at 5 minutes. Then there is another batch file that uploads the php file to the FTP server. The second batch file is referenced in Internet Settings | External Programs | Daily

Everything works well except that the data is 24 hours old. My question is: At what time does the trigger occur for the file that's located in "Daily"???

And what would be the solution to have it upload the correct data? It's not really a big deal, the stats are only out by one day.

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

Re: Dayfile Issue

Post by steve »

The 'daily' external program is executed as soon as the midnight rollover has completed, so I'd normally expect it to happen a few seconds after midnight. It's not related to the web upload in any way (it only appears on the internet settings screen because the web-upload interval related external programs were there already).

Why not just use the one batch file to do everything? You probably don't even need to copy the file, just tell the ftp program what to call it on the server.
Steve
User avatar
Cliff
Posts: 19
Joined: Mon 15 Oct 2012 1:27 am
Weather Station: Davis Vantage Vue
Operating System: Windows 7 SP1
Location: Campbellford, Ontario, Canada
Contact:

Re: Dayfile Issue

Post by Cliff »

Why not just use the one batch file to do everything? You probably don't even need to copy the file, just tell the ftp program what to call it on the server.
Now why didn't I think of that :oops:

That's what separates those that "know what they're doing" and those that "think they know what they're doing". That, and the fact that it's been at least 25-30 years since I've even thought about batch files, let alone DOS :lol:

Thanks for your help, Steve.
Post Reply