Page 1 of 1

WindowsPC vs RPi: Starting CumulusMX on Reboot

Posted: Fri 19 Jan 2018 9:12 pm
by acatalano
I have CumulusMX running on both a Raspberry Pi and a Win 7 PC. Because I'm on a domain and the configuration of the Server, windows updates happen from time to time and the system reboots, shutting down CumulusMX until I discover the problem. I thought I'd solve this with a batch script in the start menu, but that does not seem to have worked (yet?). I have the BIOS of the system configured so after a power failure(and UPS battery drain) the system reboots, so that is not an issue.

With the RPi restarting on power failure is no problem since it's configured to restart Cumulus automatically, and this works beautifully. But having it on the Windows desktop is a bit more convenient that SSH'ing onto the RPi, especially since it's on a separate network and internet connection.

One approach is to move CumulusMX onto the server (2012R2) which is highly stable and not easily interrupted by upgrades or other issues. But I'm reluctant to run applications on the server. Has anyone developed a strategy for running CumulusMX on a Windows machine more or less reliably (with regards to power failures & reboots/updates etc.,)???

Re: WindowsPC vs RPi: Starting CumulusMX on Reboot

Posted: Fri 19 Jan 2018 9:43 pm
by ConligWX
Start cumulusmx from the task schuduler at bootup

https://www.howtogeek.com/138159/how-to ... n-at-boot/

Re: WindowsPC vs RPi: Starting CumulusMX on Reboot

Posted: Fri 19 Jan 2018 9:58 pm
by acatalano
I use the Task Scheduler to create time lapse videos from stills thruout the day using FFMPG, and was considering that approach. I am worried that I would need to log into the machine for the TAsk scheduler to run...is that not the case? So even if the machine just reboots with no one around to log in it'll go on?

Re: WindowsPC vs RPi: Starting CumulusMX on Reboot

Posted: Fri 19 Jan 2018 10:06 pm
by ConligWX
acatalano wrote:I use the Task Scheduler to create time lapse videos from stills thruout the day using FFMPG, and was considering that approach. I am worried that I would need to log into the machine for the TAsk scheduler to run...is that not the case? So even if the machine just reboots with no one around to log in it'll go on?
if you care to view the link I posted you will see one of the images :

Image

tick.... Run whether a user is logged in or not.

and use admin privileges.

when you log in you wont see any Command Prompt but it will be running. you cna load the web page http://localhost:8998 to view the webGui.

to stop the session just kill the task in Task Manager, there are 3rd party programs that will do this too. though really best to use linux as less overheads than windows.

Re: WindowsPC vs RPi: Starting CumulusMX on Reboot

Posted: Fri 19 Jan 2018 10:18 pm
by acatalano
Great suggestion! Many thanks! Easy to set up too. Just need to wait until next Wed when MS pushes another update...or pull the plug.