I have a small bit of code that I\'m trying to execute with the timer service.
I\'m having trouble finding a good example or tutorial online. Oracle\'s tutorial cov
If you want your timer to run every hour, containerise the hour using day of the week. Here is an example
@Schedule(dayOfWeek = "*", hour = "*/1", persistent = false) public void run() { // Do your job here. }