I have installed msysgit for windows 8. I am attempting to automate a git pull every 5 minutes. I am using scheduled tasks to run a script I wrote. The schedule task's action is:
powershell -ExecutionPolicy Bypass File C:\Path\To\Git\Script.ps1
The script file mentioned above contains:
cd C:/Path/To/Git/Repository
git pull
When I run this script as a local user, it works successfully. However when I switch it to run as system, it appears to run successfully but it does not. The scheduled task runs successfully but the repository does not pull in new code.
Does anyone have any suggestions for running this task silently and successfully in the background?
SYSTEM
privileges to third-party software that certainly doesn't need them?