Differences

This shows you the differences between the selected revisions of the page.

2014-02-05 2014-02-05
session url should end with slash (martin) tags (martin)
Line 13: Line 13:
To add new scheduled task: To add new scheduled task:
  * Go to //Control Panel//:   * Go to //Control Panel//:
-    * Windows 8: While on desktop, go to [[wp>Taskbar#The_charms|the charms]] (press ''Win+C'' or move mouse cursor to either right screen corner) and select //Settings > Control Panel//. +    * Windows 8: While on desktop, go to [[wp>Taskbar#The_charms|the charms]] (press ''Win+C'' or move mouse cursor to either right screen corner) and select //Settings > Control Panel//. &win8 
-    * Windows 7: Go to //Windows Start Menu > Control Panel//. +    * Windows 7: Go to //Windows Start Menu > Control Panel//. &win7 
-  * In //Control Panel//, go to //System and Security > Administrative Tools > Schedule Tasks//.+  * In //Control Panel//, go to //System and Security > Administrative Tools > Schedule Tasks//. &wincp
  * In the Task Scheduler menu go to //Action > Create Basic Task//.   * In the Task Scheduler menu go to //Action > Create Basic Task//.
  * Give your task a name and click //Next//.   * Give your task a name and click //Next//.
Line 26: Line 26:
===== Scheduling on Windows XP and Earlier ===== ===== Scheduling on Windows XP and Earlier =====
-To add new scheduled task: +To add new scheduled task: &winxp &winold 
-  * Go to //Windows Start Menu > Settings > Control Panel > Scheduled Tasks > Add Scheduled Task//.+  * 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).   * 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\WinSCP\WinSCP.exe" /command "option batch abort" "option confirm off" "open sftp://user:password@example.com/" "put d:\examplefile.txt /home/user/" "exit"%%'' \\ 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.   * 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\WinSCP\WinSCP.exe" /command "option batch abort" "option confirm off" "open sftp://user:password@example.com/" "put d:\examplefile.txt /home/user/" "exit"%%'' \\ 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.

Last modified: by martin