Link to home
Start Free TrialLog in
Avatar of jjoz
jjozFlag for Australia

asked on

Windows Server task scheduler failed to work after some times ?

Hi All,

What else that I need to check if I have failed scheduled task (running using local admin account with password) ?

but when I restart the server it will work again after sometimes.

Any help would be greatly appreciated.

Thanks.
Avatar of Tonypeswani
Tonypeswani
Flag of India image

follow http://support.microsoft.com/kb/162797 and let us know about the outcome

Avatar of jjoz

ASKER

? what's that got to do with the Scheduled task ?
the local account with local admin rights is being used now.
What is the exit code for the task?
What is your OS?
Avatar of jjoz

ASKER

What is the exit code for the task? --? where to look at that ?

schtasks /query doesn't give me any error message at all.

I'm using Windows Server 2003
In the Task scheduler - each item will have it's own line and the exit code will be on of the columns.
Avatar of jjoz

ASKER

yes, the result is 0x0 does that means it worked ?
what's the guideline in setting the credentials to allow execute the task scheduler to run without user logging in
ASKER CERTIFIED SOLUTION
Avatar of Chev_PCN
Chev_PCN
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jjoz

ASKER

but somehow after the server restart the failed scheduled task is working again.
In this case it's probably not the scheduler at fault, but something within the script / file being executed.
Avatar of jjoz

ASKER

thanks man !