I have no idea whether this is a mX problem or not but...
A while back, due to extended power outage that surpassed my UPS capability, MX didn't shut down properly and upon restarting my external program was not updating my website.
It is a vbs that, in turn, invokes a bat that, in turn, invokes WinSCP with parameters.
I found that, if I ran the bat manually, WinSCP worked fine but invoked from MX it didn't.
I played around with it a lot and couldn't get it to run (it is on a 15 sec gap) and then, suddenly, one time after the website showed it hadn't updated for 30 secs and I was about to despair, it worked. So, I gave it no more thought.
Now, I have the same problem (however, my despair doesn't seem to help this time). I was in the process of moving my equipment and mistakenly hit the power button on the power bar so everything shut down. The bat runs fine manually but it fails somehow when invoked from MX. If I run it as a bat from MX instead of vbs I see the dos box open (that's why I run from a vbs to obscure that) and it looks as if the first two files are ftp'd (they aren't) but then the dos box shuts too quickly to see.
Any ideas?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
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
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
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
External program failing
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
External program failing
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: External program failing
If WinSCP is actually getting invoked (it sounds like it is) then you could turn on logging in WinSCP.
Steve
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: External program failing
Well, WinSCP was due for an upgrade anyway so I downloaded latest version and installed it and everything is fine. So, I guess it is possible that there was some corruption but what is the difference between MX invoking the bat (indirectly) and doing it manually?
I thought it was the
tasklist | find "WinSCP.com" >nul: && GOTO :eof
that was kicking in but a) it couldn't after a reboot and b) WinSCP was being invoked.
I thought it was the
tasklist | find "WinSCP.com" >nul: && GOTO :eof
that was kicking in but a) it couldn't after a reboot and b) WinSCP was being invoked.
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau