Problem using Task Scheduler API
Date: Thu, 20 May 2004 18:43:11 GMT
I wrote an MFC wrapper class for the Task Scheduler COM API and I'm using it
in my application to add/remove/modify scheduled tasks. This is my problem:
on some computers (in particular a Toshiba laptop running Windows XP) the
scheduled tasks don't start correctly when they are scheduled to run as the
Local System account. What happens is that the process is started but then
without executing any user code, it exits. The task scheduler reports that
the task ran correctly and the task scheduler log file shows that it started
and exited the same second (this behaviour is incorrect). To add another
twist, if you restart the Task Scheduler service, everything starts working
I've tested this application on 15 different machines (including 5 XP
machines) and the Toshiba laptop is the only one experiencing this error.
Any ideas, thoughts, or comments are appreciated.
- Re: Problem using Task Scheduler API
... Greg, ... finding remote task management is intermittent to say the least - sometimes ... > I wrote an MFC wrapper class for the Task Scheduler COM API and I'm using ... > machines) and the Toshiba laptop is the only one experiencing this error. ...
- Re: Accessing Windows Task Scheduler API through VB.NET 2003
... provides a facade on the unmanaged API for me and I call my new managed API ... The reason I call trying to write this code in VB.Net or even C# insane is ... I would like to add items to the windows task scheduler using VB.NET2003. ...
- Re: API call to LongonUser
... That API call is generally used by system services to impersonate a user. ... you use task scheduler to setup a job to run under a specific ... A logon type of "3" ...
- Task Scheduler API
... Is there an API for the NT Task Scheduler (not the AT Command)? ... an object interface to it? ...
- scheduler with an api?
... I know that the Task Scheduler has an api one can use to maintain the ... Is there a more powerful easier to program scheduler out there? ... Prev by Date: ...