Check the 'last result' of the 'Schedule Tasks'
Check the 'last result' of the 'Schedule Tasks'
Is there a way to check the 'last result' of the 'Schedule Tasks' from a host?
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.
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.
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
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