Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

IE and the Edge

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
gluepack
Posts: 460
Joined: Tue Jan 22, 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: IE and the Edge

Postby gluepack » Fri Oct 16, 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/library/cc721884.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


Return to “SteelSeries Gauges”

Who is online

Users browsing this forum: No registered users and 3 guests