Re: scheduler fails to start task five hours after session close
- From: "Dave Patrick" <DSPatrick@xxxxxxxxxxxxxxxx>
- Date: Sun, 27 Apr 2008 14:25:43 -0600
Scheduled Tasks|Advanced|View Log may provide some details. If the job connects to another machine you may need to add the user/ group 'logon as batch job' rights (server side). Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights Assignments
"Log on as a batch job"
If the task completes but the job does not then there is a problem in the job itself. Remember that if it involves network resources to make sure the user account has permissions to the resources and also use UNC paths as mapped drives won't natively exist when no one is logged on.
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"OBones" wrote:
Hi all,
I have a strange behavior on my servers where the scheduled tasks fail to start with message "Could not start". I looked around to find a more detailed explanation message, but was not able to locate any log file. Googling for similar terms did not help either so I did a bit of investigation. Here is the setup:
Servers are on a domain but are not the domain controller
I open sessions onto them using Terminal Services.
I logoff once I have finished a session, using the start menu.
I added one task every hour on the hour that calls the same batch file with the same credentials, those of the session I opened.
Here is what I observed:
If I keep the session opened, the tasks run fine.
If I close the session and open a new one more than 5 hours later, the first four tasks have run fine, but the last ones failed with the "could not start" message. For instance, I logoff at 9:05AM, log back in at 4:05PM, the tasks scheduled at 10, 11, 12, 1 and 2 worked but those at 3 and 4 failed with the "Could not start" message.
All the servers on which this happens are under Win2003 server with SP2 applied.
Could anyone help me with this?
Should I post this message on another group?
Thanks in advance for any help
Regards
Olivier
.
- Follow-Ups:
- References:
- Prev by Date: Re: scheduler fails to start task five hours after session close
- Next by Date: nat/basic firewall
- Previous by thread: Re: scheduler fails to start task five hours after session close
- Next by thread: Re: scheduler fails to start task five hours after session close
- Index(es):
Relevant Pages
|