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 4017) - 17 March 2024

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 drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Exporttomysql error?

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
BrunswickWeather
Posts: 76
Joined: Fri 11 Mar 2011 2:04 am
Weather Station: Ecowitt GW1103
Operating System: windows 11 Pro/Raspberry pi 4
Location: Brunswick Australia

Exporttomysql error?

Post by BrunswickWeather »

Is there a error in the program Exporttomysql, as it does not appear to export December months to the MySql monthly file using the monthly extension (Exporttomysql monthly)? It does for a single file eg Dec20log.txt

private static void DoMonthlyExport()
{
for (int y = 2000; y < 2100; y++)
{
for (int m = 1; m < 12; m++)
{
DateTime logfiledate = new DateTime(y, m, 1);

var datestring = logfiledate.ToString("MMMyy").Replace(".", "");

var filename = "data" + Path.DirectorySeparatorChar + datestring + "log.txt";
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Exporttomysql error?

Post by mcrossley »

Looks like a bug to me!
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Exporttomysql error?

Post by mcrossley »

New version posted.
Post Reply