2280
Views
15
Comments
Solved
How to schedule timer for every 10 minutes?
Question

Hi,

I am trying to create timer that executes on every 10 minutes. I seen schedule property but there is no option to set time for 10 min.

Is there any other option to do this.


Thank in advance.

Gopal jite


2026-03-09 12-26-51
Fábio Fantato
 
MVP
Solution

Hi Gopal,

You should do this configuration directly on service center. On the tab Timers you will be able to access the timer properties and set any schedule you want.


Best Regards

Fantato


2020-09-14 20-23-58
Goldy Lukka

is it possible to run the timer every 1 minute (somehow)

2014-10-21 20-15-17
Alberto Ferreira

Goldy As I known minimun is 5 min

2020-09-14 20-23-58
Goldy Lukka

Alberto Ferreira wrote:

Goldy As I known minimun is 5 min

Thanks Alberto.

Need to find some way to reduce it if possible. (programatically may be)


2018-07-09 11-17-34
Frederico Fernandes

Goldy Lukka wrote:

Alberto Ferreira wrote:

Goldy As I known minimun is 5 min

Thanks Alberto.

Need to find some way to reduce it if possible. (programatically may be)


You can create an action to wakeup the timer, or just wake up the timer in the end of the timer process.


Best Regards,

Frederico

 

2020-09-14 20-23-58
Goldy Lukka

Frederico Fernandes wrote:

Goldy Lukka wrote:

Alberto Ferreira wrote:

Goldy As I known minimun is 5 min

Thanks Alberto.

Need to find some way to reduce it if possible. (programatically may be)


You can create an action to wakeup the timer, or just wake up the timer in the end of the timer process.


Best Regards,

Frederico

 

Sounds like a plan. The only minor catch, what if the processing took longer than a minute?
run multiple timers on same processor?


2018-07-09 11-17-34
Frederico Fernandes

Goldy Lukka wrote:

Frederico Fernandes wrote:

Goldy Lukka wrote:

Alberto Ferreira wrote:

Goldy As I known minimun is 5 min

Thanks Alberto.

Need to find some way to reduce it if possible. (programatically may be)


You can create an action to wakeup the timer, or just wake up the timer in the end of the timer process.


Best Regards,

Frederico

 

Sounds like a plan. The only minor catch, what if the processing took longer than a minute?
run multiple timers on same processor?


The timer will wait until the process is finished to run again.


Best Regards,

Frederico

2024-03-31 04-48-45
Okan Yucel

Hello Frederico,

I'm new to OutSystems but I exactly need to do what you suggested (i.e. run a timer every 1 minute) on a reactive web page. I just can,'t do it with the explanation you provided, is it possible for you to create a more detailed explanation about how to accomplish this.  An oml file would be amazing.

2020-09-14 20-23-58
Goldy Lukka

Thanks Fredrico, wish I could mark one more solution in this thread :-)

Now, an extension to my question. Lets say I need to fetch data every minute but process takes 2 minutes. Is there any way to run 2 timers to (more or less) fetch the data every 1 minute?

2018-07-09 11-17-34
Frederico Fernandes

Goldy Lukka wrote:

Thanks Fredrico, wish I could mark one more solution in this thread :-)

Now, an extension to my question. Lets say I need to fetch data every minute but process takes 2 minutes. Is there any way to run 2 timers to (more or less) fetch the data every 1 minute?

I don´t think so, you have to think in other way to do that.

And I don´t know if the way you follow is the rigth way, 2 timers fetching the same data will not work, because they will fetch the same data at some moment.


Best regards,

Frederico


2020-09-14 20-23-58
Goldy Lukka

Frederico Fernandes wrote:

Goldy Lukka wrote:

Thanks Fredrico, wish I could mark one more solution in this thread :-)

Now, an extension to my question. Lets say I need to fetch data every minute but process takes 2 minutes. Is there any way to run 2 timers to (more or less) fetch the data every 1 minute?

I don´t think so, you have to think in other way to do that.

And I don´t know if the way you follow is the rigth way, 2 timers fetching the same data will not work, because they will fetch the same data at some moment.


Best regards,

Frederico


Well, as far as design is concerned, I can simply compare the Instance ID of data they are fetching. However, is it technically a problem to run 2 different timers on the same processor?


2016-04-21 20-09-55
J.
 
MVP

why have a timer running every 1 minute?

That said, you can have 3 timers running at the same time by default.


In any case, i really wonder what your use-case is and how you are thinking how to approach it, without the actual technical implementation.


2020-09-14 20-23-58
Goldy Lukka

J. wrote:

why have a timer running every 1 minute?

That said, you can have 3 timers running at the same time by default.


In any case, i really wonder what your use-case is and how you are thinking how to approach it, without the actual technical implementation.


lets say, i want the latest possible records (without blocking the request) - because in real-time the process takes about 1.5 minutes to execute. 

is there any other way apart from timers? (built-in cache is not an option)

2016-04-21 20-09-55
J.
 
MVP

Hi,


I suggest you create a new thread, because the answer is already give on the original question.

and furthermore, your use-case is not very clear, but for now it sounds like BPT that you want


UserImage.jpg
Pham Van Hieu

You can access to Service Center (Timer tab and go to the detail)  

Choose Occurrence is daily and click Generate button after setting the intervals of timer. 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.