Is it possible to use Timers in java? -


iwant built server continuously keeps on checking database updates available notify every 5 minutes. possible use timer checking database in java v can in dot net. if has idea implement please share me.

thanks in advance.

yes sure possible. hope asking scheduling jobs

timer timer = new timer(); timer.schedule(new yourtask(), seconds * 1000); 

take @ quartz scheduler more sophisticated approach.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -