Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

IE and the Edge

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
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: IE and the Edge

Post by gluepack » Fri 16 Oct 2015 1:56 pm

I meant... use Task Scheduler as the program invoked from CMX to, in turn, invoke WinSCP immediately but use any delay option that it supports in order to inhibit dual sessions.

schtasks /Run [/S <system> [/U <username> [/P [<password>]]]] /TN <taskname>

viz. https://technet.microsoft.com/en-us/lib ... 21884.aspx

Prikryl says "It allows you to prevent parallel runs." I guess by virtue of the same <taskname>.

e.g.
schtasks /Run /TN "c:\WinSCPMX\WinSCP.com /script=c:\WinSCPMX\upreally.txt"

However, is this the same taskname?

schtasks /Run /TN "c:\WinSCPMX\WinSCP.com /script=c:\WinSCPMX\upjson.txt"

and will it work from CMX and could they build up, if there is a problem (like internet down)?

Update: I think the <taskname> has to be previously created so it would be more like...

schtasks /Run /TN "Realtime"
and
schtasks /Run /TN "Json"
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau

Post Reply