My script won't run under the task scheduler. Why?

后端 未结 13 2527
忘掉有多难
忘掉有多难 2021-02-04 08:53

I have a vbscript script that I runs fine when I am running it myself.

For some reason, when I run it under the task scheduler as an administration user, it runs, but do

13条回答
  •  Happy的楠姐
    2021-02-04 09:26

    When I've had this problem it's usually because the program running on my task is erroring out, even though the return value of the completed task didn't report any problem.

    You say it runs but doesn't write to your log -- is it possible it's crashing before it writes to your log?

    If you haven't already, add error handling to your script and try to log any errors, or at least try to trace how far through the script it's getting.

提交回复
热议问题