I'm trying to have my code execute on a fixed schedule, based on a Spring cron expression. I would like the code to be executed every day at 1:01:am. I tried the following expression, but this didn't fire up for me. What's wrong with the syntax here?
@Scheduled(cron = "0 1 1 ? * *")
public void resetCache() {
// ...
}