Differences
This shows you the differences between the selected revisions of the page.
2014-11-19 | 2014-11-19 | ||
no summary (195.146.61.5) (hidden) | Restored revision 1412177823. Undoing revision 1416401008. (martin) (hidden) | ||
Line 27: | Line 27: | ||
* When done, click //Next//, review your options and confirm with //Finish//. | * When done, click //Next//, review your options and confirm with //Finish//. | ||
+ | ===== Scheduling on Windows XP and Earlier ===== | ||
+ | To add new scheduled task: &winxp &winold | ||
+ | * Go to //Windows Start Menu > Settings > Control Panel > Scheduled Tasks > Add Scheduled Task//. &wincp | ||
+ | * Browse for ''WinSCP.exe'' [[executable]], and setup other task properties (like period of execution). | ||
+ | * In advanced properties add appropriate WinSCP [[commandline|command-line]] parameters to execute the [[scripting#commands|scripting commands]] you need (typically you will use ''/script'' or ''/command'' parameters). \\ The resulting command may look like: \\ ''%%"C:\Program Files (x86)\WinSCP\WinSCP.exe" /command "option batch abort" "option confirm off" "open sftp://user:password@example.com/" "put d:\examplefile.txt /home/user/" "exit"%%'' &winpath &win64 \\ Note that the command-line parameter ''/console'' was not specified, what makes ''WinSCP.exe'' not show the console window, not to disturb you while you are using your workstation. | ||
+ | * You may want to use ''/log'' parameter to turn on [[logging|session logging to file]]. | ||
+ | * If your script uses local paths relative to the script path or WinSCP executable path, specify the respective path in //Start in// field. | ||
===== Scheduling on Microsoft Azure WebSite with Azure WebJobs ===== | ===== Scheduling on Microsoft Azure WebSite with Azure WebJobs ===== |