Scheduled Tasks not running

C

Chris

Hey guys,

I'm having difficulty getting Scheduled tasks to run after creating them
with the wizard. They worked fine on another server but when I run them
they just say 'Running' and don't actually do anything. The username and
password is correct. One of the tasks is running a vbs file and the other a
batch file. When running the .vbs and .bat files by themselves they run
perfectly so I doubt the problem lies with the programs themselves but
rather some sort of issue with scheduled tasks. I have checked the task
scheduler service is running and have restarted it just to make sure.

Many Thanks,

Chris.
 
P

Pegasus \(MVP\)

Chris said:
Hey guys,

I'm having difficulty getting Scheduled tasks to run after creating them
with the wizard. They worked fine on another server but when I run them
they just say 'Running' and don't actually do anything. The username and
password is correct. One of the tasks is running a vbs file and the other a
batch file. When running the .vbs and .bat files by themselves they run
perfectly so I doubt the problem lies with the programs themselves but
rather some sort of issue with scheduled tasks. I have checked the task
scheduler service is running and have restarted it just to make sure.

Many Thanks,

Chris.

Add some basic diagnostics to your batch file, examine the log
files and all will become clear:

@echo off
echo %date% %time% User=%Username% Path=%path% > c:\test.log
c:\Tools\YourCommand.exe 1>>c:\test.log 2>c:\test.err
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top