|
| |||||||||
| Tags: scheduled |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Scheduled Task Issue
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? |
|
#2
| |||
| |||
| RE: Scheduled Task Issue
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' -- Was this post helpful to you? Voting helps others who use the web interface. Mark L. Ferguson "mknoll1" wrote: > 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? |
|
#3
| |||
| |||
| Re: Scheduled Task Issue
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 "mknoll1" <mknoll1@discussions.microsoft.com> wrote in message news:2BA35C13-A2BC-4030-9951-D18AF3D3CED2@microsoft.com... > 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? |
|
#4
| |||
| |||
| Re: Scheduled Task Issue
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. "CreateWindow" wrote: > 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 > > > > > > "mknoll1" <mknoll1@discussions.microsoft.com> wrote in message > news:2BA35C13-A2BC-4030-9951-D18AF3D3CED2@microsoft.com... > > 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? > > > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Scheduled Task Issue" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Scheduled Task: Unable to start task. 0x80070005: Access is denied. | BCU_AJones | Windows Software | 1 | 01-12-2011 11:49 PM |
| Scheduled task will not run as scheduled! | alex.birchall@gmail.com | Window 2000 Help | 1 | 03-12-2009 04:18 PM |
| Scheduled Task does not run | coreymac1222 | Windows XP Support | 3 | 06-03-2009 02:06 AM |
| Can't run scheduled task | alicorn2 | Windows Server Help | 8 | 22-04-2008 06:07 AM |
| Scheduled Task error code:The task completed with an exit code of | Teo Chee Yang | Windows Server Help | 7 | 26-02-2007 06:01 PM |