Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are running a scheduled task on a Server 2008 machine from an XP client. Using the following commandline (on the XP client):

schtasks /run /u "domain\username" /p "password" /s MyServer2008 /tn MyTask

This reports SUCCESS, but the task is not actually being run. Querying using schtasks on the server shows that the task has never been run.

Is there anything configuration or other factors that could cause this?

share|improve this question
add comment

1 Answer

Check that the task isn't set to only run when the user is logged in (yes, even though the task reports as success). Check your event logs for errors associated with scheduled tasks. schtasks isn't the final word on a tasks behavior.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.