 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
CanadaUser
Joined: 12 May 2009 Posts: 6 Country: Canada |
|
What's the format of "Schedule Type T"? Minute lev |
|
Using the COM API to set intervals of trigger, what's the format of "Schedule Type T"?
Can the interval be set at the minute level?
Thanks!
|
|
Tue May 12, 2009 6:03 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7951
|
|
|
|
It should be in hours:minutes:seconds format. Seconds can be omitted, for example, "01:00" will set the job to run every hour. This is the same value and format that you see in the GUI in the Job Properties Wizard.
|
|
Tue May 12, 2009 7:49 pm |
|
 |
CanadaUser
Joined: 12 May 2009 Posts: 6 Country: Canada |
|
|
|
Can the interval be set at the minute level? Say I want to check out some kind of data for every 20 seconds.
|
|
Wed May 13, 2009 12:35 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7951
|
|
|
|
Yes "00:00:20"
But this is wrong by design. This will generate some load for no reason. If you need to implement a frequent polling method, you could create a never ending script job looping forever and checking event conditions, for example in JAL,
LoopWhile TRUE, END_LOOP
... check something
... do something
Wait(20)
END_LOOP:
Similar things can be done in other types of supported script jobs (JavaScript, VBScript, etc..) depending on the environment.
|
|
Wed May 13, 2009 12:46 pm |
|
 |
|
|
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
|
|
|