SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
running a job n times a minute...

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
running a job n times a minute...
Author Message
nico



Joined: 08 May 2001
Posts: 13

Post running a job n times a minute... Reply with quote

How do I run a job n times a minute? For example every 10 seconds?

The smallest interval I see as an option when configuring a job is 1 minute.

Thank you,
Nico

Tue Oct 29, 2002 3:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7840

Post Re: running a job n times a minute... Reply with quote

Although 24x7 supports down to the second intervals you should not use them, that's why the GUI allows selecting intervals in minutes.
Instead you should design a job that starts on "startup" and internally implements a loop that every 10 seconds performs the desired action. For example to run Notepad every 10 seconds you can create a script type job with the following code:

Dim pid, number
LoopWhile True, END_LOOP
RunAndWait "notepad.exe", "", 0, pid
Wait 10
END_LOOP:

If you really wish to set a job with "All day" schedule type to use 10 seconds interval you can do in several way, the quickest is to use a temp job which you will run just once manually. That job should be of script type with just line of code
JobModify "name of main job here", "INTERVAL", 10

After you run this templ job you can delete it.
: How do I run a job n times a minute? For example every 10 seconds?

: The smallest interval I see as an option when configuring a job is 1 minute.

: Thank you,
: Nico

Tue Oct 29, 2002 4:30 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.