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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -