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

CumulusMX Shutdown

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

Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: CumulusMX Shutdown

Post by Grimers »

duke wrote:Not at all, RTFM!
Sorry, are you trying to make a point, because it isn't working. :lol:
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: CumulusMX Shutdown

Post by freddie »

Grimers wrote:Ctrl-C is just the Linux equivalent of close in Windows
Incorrect. Ctrl-C fires a SIGINT (the interrupt signal) in both Windows and Linux. MX will probably listen for this and perform an orderly shutdown when it is received. Close in Windows fires a (non-POSIX) SIGBREAK (the break signal). This is not the same as SIGINT. If MX listens for SIGBREAK in the same way as SIGINT it is possibly handled in the same way - but Steve would have to confirm this as he wrote the code :-). If MX doesn't listen for SIGBREAK then you will run the risk of data corruption, as program shutdown will not be orderly.
duke obviously knows his stuff, so I would err on the side of caution and RTFM as he suggests. The manual (i.e. Steve's MX operating instructions) says to use Ctrl-C, so I would advise doing that unless there is good reason not to.
Freddie
Image
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: CumulusMX Shutdown

Post by Grimers »

Ok, thanks.
Phil23
Posts: 888
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: CumulusMX Shutdown

Post by Phil23 »

Ended up finding a lot of utilities have issues sending Ctrl-C to a command prompt box.
Particularly when it's run with administrative privileges.

Ended up finding Auto Hot Key worked for me. http://ahkscript.org/

Others might be able to refine the script a bit, but basically it activates the window titled C:\CumulusMX\CumulusMX.exe.

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
WinActivate, C:\CumulusMX\CumulusMX.exe
Send ^c
Return
Liked the fact that AHK could compile the script into an EXE, so it doesn't need AHK installed on the host PC.

Then it's just scheduled to run at highest privileges with Windows own Task Scheduler.

Cheers

Phil

Might be something @Steve can refine or create an alternative to & include in the distribution.

CumulusShutdown.zip
You do not have the required permissions to view the files attached to this post.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Locked