Here is my current java code
Timer timer = new Timer();
timer.schedule(new JobScheduler(), new Date(), 1000 * 60 * 5);
JobScheduler is a class that extends from java.util.TimerTask
After some time, the periodic tasks are no longer getting started how to check if the timer has stopped scheduling periodic tasks?
New contributor
user25753955 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.