Script doesn't run when logged out?
Hey folks:
I have a WinSCP script written which logs into a remote server with SSH keys and performs a sync of a directory. The script works perfectly if I double click the "bat" file which in turn calls the script. However, if I set it up as a scheduled task, it simply does not run. I have another scheduled task that does run (this task simply copies a bunch of directories to a local external hard drive).
I am a bit confused as to why it won't run as a scheduled task when I'm logged out given that I have an almost identical task that does run when I'm logged out?
Thanks!
I have a WinSCP script written which logs into a remote server with SSH keys and performs a sync of a directory. The script works perfectly if I double click the "bat" file which in turn calls the script. However, if I set it up as a scheduled task, it simply does not run. I have another scheduled task that does run (this task simply copies a bunch of directories to a local external hard drive).
I am a bit confused as to why it won't run as a scheduled task when I'm logged out given that I have an almost identical task that does run when I'm logged out?
Thanks!