Windows task scheduler last result codes list

Discussion in 'Microsoft Windows 2000' started by Guest, Mar 23, 2006.

  1. Guest

    Guest Guest

    Hi,
    I have defined 12 tasks in windows server 2003 task scheduler to run at night.
    When I am looking at the result of tasks in the morning it shows different
    last result codes like 0x0, 0x1, 0x3, 0x9, 0xb etc,

    I have tried to find a full list of last result code everywhere but failed.

    Is someone having a full list or any site or any clue from where I can get
    this?.
    This would be very beneficial to me to troubleshoot.

    Thank You,
    Kishor Yadav.
     
    Guest, Mar 23, 2006
    #1
    1. Advertisements

  2. "Kishor Yadav" <> wrote in message
    news:...
    > Hi,
    > I have defined 12 tasks in windows server 2003 task scheduler to run at

    night.
    > When I am looking at the result of tasks in the morning it shows different
    > last result codes like 0x0, 0x1, 0x3, 0x9, 0xb etc,
    >
    > I have tried to find a full list of last result code everywhere but

    failed.
    >
    > Is someone having a full list or any site or any clue from where I can get
    > this?.
    > This would be very beneficial to me to troubleshoot.
    >
    > Thank You,
    > Kishor Yadav.


    The codes are set by the programs you run under the
    Task Scheduler. It seems they have a few problems.
    Embed them in a batch file as below, run the batch file
    under the Task Scheduler, examine the log files and
    you will soon see what's wrong!

    @echo off
    echo %date% %time% Start of task > c:\test.log
    echo User=%UserName%, Path=%path% >> c:\test.log
    "c:\Tools\YourTask.exe" 1>>c:\test.log 2>c:\test.err
    echo ErrorLevel of c:\Tools\YourTask.exe=%ErrorLevel% >> c:\test.log
    echo %date% %time% End of task >> c:\test.log
     
    Pegasus \(MVP\), Mar 23, 2006
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sleurhutje

    Task Scheduler Last Result Code 0xc0000005

    Sleurhutje, May 3, 2004, in forum: Microsoft Windows 2000
    Replies:
    2
    Views:
    11,203
    Enkidu
    May 4, 2004
  2. task scheduler error codes?

    , Aug 11, 2004, in forum: Microsoft Windows 2000
    Replies:
    1
    Views:
    524
    Pegasus \(MVP\)
    Aug 11, 2004
  3. Alynn

    Task Scheduler Codes

    Alynn, Aug 12, 2004, in forum: Microsoft Windows 2000
    Replies:
    1
    Views:
    1,224
    Pegasus \(MVP\)
    Aug 12, 2004
  4. Guest

    Result codes in Task Scheduler

    Guest, Dec 13, 2004, in forum: Microsoft Windows 2000
    Replies:
    6
    Views:
    4,776
    Dave Patrick
    Dec 13, 2004
  5. Guest

    Task Scheduler Exit Codes

    Guest, Jan 17, 2006, in forum: Microsoft Windows 2000
    Replies:
    2
    Views:
    1,566
    Dave Patrick
    Jan 18, 2006
Loading...

Share This Page