=======================================
SETTING AUTOMATED TASK VIA TASK MANAGER
=======================================
From Computer Management > System Tools > Task Scheduler
>> Create Task
> Begin Task on a schedule
DSLstats_current
DSLstats_history
>> Task Trigger
One time. Repeat every 00:01:00. Duration Indefinitely.
One time. Repeat every 2 hours. Duration Indefinitely.
>> Action (Command)
> Start a program
"C:\Program Files (x86)\WinSCP\WinSCP.exe"
> Add argument
This will depend upon the location of DSLstats on your PC and where you are running the scripts from.
As a guide my arguments are shown below.
/script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_current.txt /log=d:\Connection\dslstats\WinSCP_scripts\log_current.txt
/script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_history.txt /log=d:\Connection\dslstats\WinSCP_scripts\log_history.txt
Note re the arguments.
I've included the code for logging.
This may be useful whilst setting up the script, but once you have it working correctly I recommend you delete logging as the file can soon grow quite large for the current stats. So just use /script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_current.txt