Updating a script currently being ran by Task Scheduler on Windows
Posted
by
orangechicken
on Server Fault
See other posts from Server Fault
or by orangechicken
Published on 2013-06-26T20:11:36Z
Indexed on
2013/06/26
22:23 UTC
Read the original article
Hit count: 271
I have a scheduled task that runs a script on a ahem schedule ahem that updates a local git repo. This script is a file in this local git repo.
Currently, what I'm seeing is that the script is ran, git complains that permissions are denied to write to file which actually results in the script being deleted! The next time the scheduled task runs the script file is now missing!
How can I ensure that when I pull changes to this script from the repo that the file is actually updated?
© Server Fault or respective owner