KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Check the 'last result' of the 'Schedule Tasks'

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
uczernik



Joined: 02 Apr 2004
Posts: 2
Location: Germany

PostPosted: Tue May 18, 2004 4:49 am    Post subject: Check the 'last result' of the 'Schedule Tasks' Reply with quote

Is there a way to check the 'last result' of the 'Schedule Tasks' from a host?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Tue May 18, 2004 3:27 pm    Post subject: Reply with quote

'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
View user's profile Send private message Visit poster's website
uczernik



Joined: 02 Apr 2004
Posts: 2
Location: Germany

PostPosted: Wed May 19, 2004 5:01 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu May 20, 2004 3:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index