JORGEMAL Posted April 30, 2011 Posted April 30, 2011 I wrote a small program in Visual Basic which must be run every day at 2AM, so I added a task in the Task Scheduler to perform it automatically. I checked the status of such an operation and I see a Last Run Result of 0x8004131F which means that the task is already running. I also checked the properties of the task and clicked the History tab and I see the following entries: * (Information - Event ID 140) Task Scheduler failed to start "\Herramientas\ActualizacionSitios" task for user "TERES01\teressoft". Additional Data: Error Value: 2147750687. * (Error - Event ID 101) Task Scheduler did not launch task "\Herramientas\ActualizacionSitios" because instance "{344a9907-ae55-44b2-bfe3-f6c849878ed4}" of the same task is already running. * (Warning - Event ID 322) Task Scheduler launched "{166c7e6f-0abf-463b-9c6a-475bddcf2689}" instance of task "\Herramientas\ActualizacionSitios" due to a time trigger condition. The task runs under an account with administrative privilegies. Any comments will be appreciated. Respectfully, Jorge Maldonado Quote
ICTCity Posted May 1, 2011 Posted May 1, 2011 It looks like that program hangs. In task scheduler you can find an option which stop that process if it's already running. Actually I'm not in front of my PC so I can't tell you the exact position of that option. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
Recommended Posts