SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Job Numbers

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Job Numbers
Author Message
Brent



Joined: 20 Feb 2002
Posts: 57

Post Job Numbers Reply with quote

When a job is added, it gets a job number. Is there a limit to these numbers? If so, what does 24x7 do when it reaches this limit?

Wed Apr 09, 2003 3:23 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: Job Numbers Reply with quote

The limit the size of the 32-bit integer number which is about 2 Gig.

: When a job is added, it gets a job number. Is there a limit to these numbers?
: If so, what does 24x7 do when it reaches this limit?

Wed Apr 09, 2003 5:24 pm View user's profile Send private message
Brent



Joined: 20 Feb 2002
Posts: 57

Post Re: Job Numbers Reply with quote

That sounds like a reasonable size, but what does 24x7 do when it reaches that limit? Does it go back and re-use numbers that aren't being used?

: The limit the size of the 32-bit integer number which is about 2 Gig.

Thu Apr 10, 2003 9:25 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: Job Numbers Reply with quote

It does not provide any overflow protection; it simply keeps incrementing the last used number by one every time a new job is created. As a result of that if you hit the top limit for 32-integer value (positive range) the next number will be a negative number which will most likely "logically" damage the job database. If you wish you can provide such protection yourself. If you plan to create/delete jobs dynamically put some IF logic to your script in order to reset the last used number to some usable and yet valid value. The last used number is stored in the registry. You can check the value from your script before creating a new job.

: That sounds like a reasonable size, but what does 24x7 do when it reaches
: that limit? Does it go back and re-use numbers that aren't being used?

Thu Apr 10, 2003 11:53 am 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.