Scheduled Task Issue

G

Guest

I have several scheduled tasks running on my machine most of them without
issue. However, about one out of every 3 times I run some tasks they finish
with a result of 0x1 and the task is not performed. I have researched 0x1
status and it says it is "An incorrect function was called or an unknown
function was called." I first interpretted this to mean that my scheduled
task was configured incorrectly. However, if I right click and execute the
task immediately after it fails to run it works perfectly with no problems.
I have tried new hardware, reinstalling the OS, deleting the tasks and
recreating them and it continues to occur. This issue first occurred on a
Windows XP SP2 machien and I have now duplicated it on a Windows Server 2003
machine. Has anyone else experienced this issue and do you have a good
solution or workaround?
 
G

Guest

Perhaps what I know about the problems others have with scheduled tasks might
help.
1. A scheduled task only runs when the user that created it is logged on.
2. A scheduled task will not run if the user uses a blank pasword.
3. Scheduled tasks sometimes depend on some service being started already.
One of yours may be on 'manual start'
 
C

CreateWindow

Hi,

Scheduled tasks WILL run if the user that created it is logged on or *not*.
BUT you must provide a valid username and password for the scheduled task to
use (i.e. your regular login credentials).

Check your tasks don't access things that are not there when you are logged
off. Like mapped network drives evaporate when you log off. :)

If that is the case: Check ot VBScripting to map those drives before the
task runs.

Good luck,
CreateWindow
http://mymessagetaker.com
 
G

Guest

I am using only local drives. THe task may fail if someone is logged on or
not. I tested that by leaving it logged on overnight for a week and it still
failed twice.
 

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