Hello,
The commands are just:
cd\
cd program files\amazon\awscliv2
aws s3 sync s3://[Source Folder] [Destination Folder] --profile [Profile] --ca-bundle [cacert.pem path]
It works fine when ran at the command prompt or manually run. What could be causing this problem?
Our workaround was just to use Windows Scheduler, but I was just curious to find out. Quite inconvenient to maintain two schedulers.