|
| |||||||||
| Tags: codes, result, scheduled |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Scheduled Tasks result codes
Anyone know what the result codes for scheduled tasks are or where to find them? I'm getting "0x2" in the "Last Result" column for a job that is supposed to run, but am not sure what it means. I have an idea, but would like more details. This is Windows Server 2003 SP1. Thanks. |
|
#2
| |||
| |||
| RE: Scheduled Tasks result codes
Ok, found an article (http://support.microsoft.com/kb/308558) but it doesn't list what "0x2" means. It does explain how to get to the scheduled tasks log, which shows "Result: The task completed with an exit code of (2)." Any ideas will be appreciated. "jmrzx" wrote: > Anyone know what the result codes for scheduled tasks are or where to find > them? I'm getting "0x2" in the "Last Result" column for a job that is > supposed to run, but am not sure what it means. I have an idea, but would > like more details. This is Windows Server 2003 SP1. Thanks. |
|
#3
| |||
| |||
| Re: Scheduled Tasks result codes "jmrzx" <jmrzx@discussions.microsoft.com> wrote in message news:8A48CB56-0B34-47D3-AE08-C32EC16A1FEC@microsoft.com... > Anyone know what the result codes for scheduled tasks are or where to find > them? I'm getting "0x2" in the "Last Result" column for a job that is > supposed to run, but am not sure what it means. I have an idea, but would > like more details. This is Windows Server 2003 SP1. Thanks. The code is generated by whatever you run inside the scheduled task. |
|
#4
| |||
| |||
| Re: Scheduled Tasks result codes
Thanks. It's just a batch file that maps a drive and copies files to an archive repository (folder on another server.) "Pegasus (MVP)" wrote: > > "jmrzx" <jmrzx@discussions.microsoft.com> wrote in message > news:8A48CB56-0B34-47D3-AE08-C32EC16A1FEC@microsoft.com... > > Anyone know what the result codes for scheduled tasks are or where to find > > them? I'm getting "0x2" in the "Last Result" column for a job that is > > supposed to run, but am not sure what it means. I have an idea, but would > > like more details. This is Windows Server 2003 SP1. Thanks. > > The code is generated by whatever you run inside the scheduled task. > > > |
|
#5
| |||
| |||
| Re: Scheduled Tasks result codes
Why don't you give yourself some eyes so that you can see what's going on? @echo off echo %date% %time% %UserName% >> c:\test.txt net use Q: \\Server\Share 1>>c:\test.txt 2>>&1 xcopy /y /c "c:\Some Folder\*.txt" "q:\Some Directory" 1>>c:\test.txt 2>>&1 What is the contents of c:\test.txt? "jmrzx" <jmrzx@discussions.microsoft.com> wrote in message news:BDACD5A5-9169-4497-A94A-5607B8FB91DB@microsoft.com... > Thanks. It's just a batch file that maps a drive and copies files to an > archive repository (folder on another server.) > > "Pegasus (MVP)" wrote: > >> >> "jmrzx" <jmrzx@discussions.microsoft.com> wrote in message >> news:8A48CB56-0B34-47D3-AE08-C32EC16A1FEC@microsoft.com... >> > Anyone know what the result codes for scheduled tasks are or where to >> > find >> > them? I'm getting "0x2" in the "Last Result" column for a job that is >> > supposed to run, but am not sure what it means. I have an idea, but >> > would >> > like more details. This is Windows Server 2003 SP1. Thanks. >> >> The code is generated by whatever you run inside the scheduled task. >> >> >> |
|
#6
| |||
| |||
| Re: Scheduled Tasks result codes
Tue 02/24/2009 15:41:15.81 USSTEST System error 67 has occurred. The network name cannot be found. Invalid drive specification 0 File(s) copied We're having an issue where the Server and Workstation services won't stay running and I think this is related - the drive can't be mapped and thus the job fails. Thanks for your help, Pegasus. "Pegasus (MVP)" wrote: > Why don't you give yourself some eyes so that you can see what's going on? > > @echo off > echo %date% %time% %UserName% >> c:\test.txt > net use Q: \\Server\Share 1>>c:\test.txt 2>>&1 > xcopy /y /c "c:\Some Folder\*.txt" "q:\Some Directory" 1>>c:\test.txt > 2>>&1 > > What is the contents of c:\test.txt? > > "jmrzx" <jmrzx@discussions.microsoft.com> wrote in message > news:BDACD5A5-9169-4497-A94A-5607B8FB91DB@microsoft.com... > > Thanks. It's just a batch file that maps a drive and copies files to an > > archive repository (folder on another server.) > > > > "Pegasus (MVP)" wrote: > > > >> > >> "jmrzx" <jmrzx@discussions.microsoft.com> wrote in message > >> news:8A48CB56-0B34-47D3-AE08-C32EC16A1FEC@microsoft.com... > >> > Anyone know what the result codes for scheduled tasks are or where to > >> > find > >> > them? I'm getting "0x2" in the "Last Result" column for a job that is > >> > supposed to run, but am not sure what it means. I have an idea, but > >> > would > >> > like more details. This is Windows Server 2003 SP1. Thanks. > >> > >> The code is generated by whatever you run inside the scheduled task. > >> > >> > >> > > > |
|
#7
| |||
| |||
| Re: Scheduled Tasks result codes "jmrzx" <jmrzx@discussions.microsoft.com> wrote in message news:EDBFD0DD-B666-47C0-AEED-9283D48DCBEE@microsoft.com... > Tue 02/24/2009 15:41:15.81 USSTEST > System error 67 has occurred. > > The network name cannot be found. > > Invalid drive specification > 0 File(s) copied > > We're having an issue where the Server and Workstation services won't stay > running and I think this is related - the drive can't be mapped and thus > the > job fails. Thanks for your help, Pegasus. Thanks for the feedback. It seems that making things visible highlighted the real cause of your problem. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Scheduled Tasks result codes" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Scheduled Tasks result code meanings | ag@work.org | Windows Server Help | 4 | 17-11-2011 06:31 PM |
| Windows Scheduled Tasks don't luanch if tasks not finished | Andy Candy | Windows Software | 3 | 21-08-2009 12:47 PM |
| Scheduled Tasks result - 0x1 | z4f786 | Windows XP Support | 6 | 01-06-2009 09:08 PM |
| Scheduled Tasks: Notify me of missed tasks | Swifty | Windows XP Support | 2 | 02-01-2009 02:45 PM |
| Schedule tasks Last Result 0x2 | CarynCondon | Window 2000 Help | 3 | 28-02-2005 11:43 PM |