Timer Object

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Timer Object

Postby Michael Mooney » Tue Aug 07, 2007 5:44 pm

Could use a "timer object" that can be placed on a Form (or called by a method) and perform the following:

1. Timer will fire after xxxxx.xxx seconds and call a Form or Global method;

2. Execution will continue after the timer object is "started": this would run as a background task.

Useful for a number of things such as triggering events after x seconds or minutes of user inactivity, releasing resources or connections, etc.

Does anyone have a technique using current 3.5 methods? I am aware of the application.sleep method and run prog in background app node methods.

Michael
Michael Mooney
 
Posts: 269
Joined: Thu Apr 12, 2007 2:26 am
Location: Canada

Postby pbakker » Tue Aug 07, 2007 5:56 pm

Sounds like you need to delve into the scheduler plugin and batch processors...

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Michael Mooney » Tue Aug 07, 2007 6:01 pm

Thanks, Paul - missed that plugin feature (I thought it was just for firing scheduled Cron jobs ... looks like it is much broader than that!).
Michael Mooney
 
Posts: 269
Joined: Thu Apr 12, 2007 2:26 am
Location: Canada


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 16 guests