View previous topic :: View next topic |
Author |
Message |
uczernik
Joined: 02 Apr 2004 Posts: 2 Location: Germany
|
Posted: Tue May 18, 2004 4:49 am Post subject: Check the 'last result' of the 'Schedule Tasks' |
|
|
Is there a way to check the 'last result' of the 'Schedule Tasks' from a host? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12794 Location: USA
|
Posted: Tue May 18, 2004 3:27 pm Post subject: |
|
|
'last result' of the 'Schedule Tasks'? Do you mean you want to check some application that was started by standard Windows scheduler?
I think it is application specific matter. What application you need to check?
Regards
Alex |
|
Back to top |
|
|
uczernik
Joined: 02 Apr 2004 Posts: 2 Location: Germany
|
Posted: Wed May 19, 2004 5:01 am Post subject: |
|
|
Ok, my question was not complete.
I have some schedule tasks which were started hourly by the standard Windows scheduler.
At running of the appications and batches the 'status' 0x01. When finished the result is depending on the application,
so you are right, Alex!
At the most applications or batches the result 0x00 the running was OK and unequal null when the application fails. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12794 Location: USA
|
Posted: Thu May 20, 2004 3:01 pm Post subject: |
|
|
I know about result codes but I don't think Windows stores anywhere exit codes. At least I didn't find any information about this option. Only parent process (scheduler in this case) can check exit code.
Some applications can log results, otherwise you need to create your own script that will start application and save exit code into a file. And start this script from the scheduler.
Regards
Alex |
|
Back to top |
|
|
|