Reputation: 57
Can anyone tell me if a Cron expression of 1 0 * * * ? will mean that a Quartz job in Java runs at one second past the hour, every hour?
I always seem to get these wrong.
Upvotes: 2
Views: 345
Reputation: 33078
Yes, one second past the hour, every hour, but you're missing a *
.
The parameters for a cron line in quartz are:
So you would need six or seven values:
1 0 * * * *
Upvotes: 1