So I have the following cron expression
00 9 * * * ?
which I thought was run this everyday at 9 am
But based on the email I've been getting
What am I doing wrong?
Hi @Gavin ,
That expression will indeed translate to
At second :00 of minute :09 of every hour
The expression you would want is: 0 0 9 ? * * *
That translates to: At 09:00:00am every day
You can easily generate these by using an online tool, for example: https://www.freeformatter.com/cron-expression-generator-quartz.html
What if I want the rule to run everyday at 11:30?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.