I\'m relatively new to Java and I\'ve pick up a project to work on. However, I\'ve run into a block. I need a method to run at a certain times throughout the day. I\'ve d
One possibility could be to use an external scheduler - depending on desired accuracy. On UNIX use CRON, on Windows use the Windows Scheduler. That nicely isolates timing from doing.
You could use a Timer and create a simple class that checks the time every minute or 5 minutes depending on desired granularity. It would be very lightweight.