I am trying to setup my rsync script to run automatically. It uses a key file for authetnication so there is no issue of missin ginput or something.
I have user a.
In user a's profile live a batch file that calls cwrsync and references the authentication key, and writes results to a file results.txt
If I run this file as user a everything works perfectly.
I tried to set this batch file as a scheduled task to be run as Administrator, and set it to start in the location of the batch file, to no avail.
The rsync, cmd and ssh executables appear to hang, never closing unless I manually end them from task manager. The results.txt file also remains empty.
I am using absolute paths for everything so that should not be an issue.
Ideas on how to troubleshoot?