SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
JobGetStatus Incorrect

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
JobGetStatus Incorrect
Author Message
Jason



Joined: 29 May 2001
Posts: 27

Post JobGetStatus Incorrect Reply with quote

I am running the following code which updates the job properly but the status is reported as -1. If I step through the job it is reported as -5 which is correct.

Dim status number
JobModify( "12", "Start_Time", "1:30PM" )
JobModify( "12", "Start_Date", "7/1/2006" )
JobGetStatus( "12", status )

What is the difference with the processing it through stepping vs not?

Mon May 01, 2006 1:08 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: JobGetStatus Incorrect Reply with quote

Timing makes the difference.

What JobGetStatus has to do with JobModify? Why not simply JobRun (or Run "24x7 /JOB [job]")?

: I am running the following code which updates the job properly but the status
: is reported as -1. If I step through the job it is reported as -5 which is
: correct.

: Dim status number
: JobModify( "12", "Start_Time", "1:30PM" )
: JobModify( "12", "Start_Date", "7/1/2006" )
: JobGetStatus( "12", status )

: What is the difference with the processing it through stepping vs not?

Mon May 01, 2006 1:22 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 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
Design by Freestyle XL / Flowers Online.