Hi, sorry for these late answers, but I made some tests today!
> Concerning frequency of tasks execution, some of them are launched every hour (monitoring task)
For others tasks, they run one time a day each, but not at the same time (one starts at 1.00 am, the second at 2.am, so at one moment, only one task is running. But it is not forbidden that in the future, several tasks will run at the same time)
> The hidden option in task paramters does not change anything.
Concerning the test I realized today:
I disabled the "interact with desktop option" in the service options. This allow me to restart the service now, but without changes about error when trying to runs tasks.
I cannot use the API code as credential management (I get app initialization error 0xc0000142) but "managed code" seems to work. But I cannot acceed network resource requiring credential.
>QUESTION: can you quicly explain difference between API and managed code credential option?
Indeed, I created a small .bat script to test the current user:
echo %USERNAME% >> "c:\log_file.log"
And I noticed in the log file I did have the user of selected credential, but a generic account used to run services. I think this explains why I cannot run programs presents on network drives, because generic account does not have access to shared folder.
I think it was functional with API code (I'm sure because it worked), but not with managed code.
I'll hope it will help you!
Edited by user
2009-03-26T22:40:53Z
|
Reason: Not specified