Windows scheduled task fails, but only sometimes
There is a remote site that posts files for me to download on a daily basis. I have set up a script to sync my local directory with the remote directory. Every time I have run this script manually it has worked. I set up a Windows scheduled task to execute the same script and use the same account that I use to run it manually. 90% of the time the automated script executes perfectly. The remaining 10% of the time, the job will start and get to the step, "Collecting synchronization list for local directory and remote directory...". Right after that step it closes connection without downloading anything.
I'm out of ideas at this point.
I'm out of ideas at this point.