Advanced scheduled issue trigger
Hello,
I am trying to set a quarterly interval task and receive an error when using the expression:
0 0 9 5 1/3 *
the error indicates: Incorect cron expression! (incorect s/b incorrect)
The link mentioned in previous posts to the Quartz tutorial no longer work and I didn't find details in the documentation.
Thank you.
Comments (6)
-
reporter -
- changed status to open
-
-
assigned issue to
-
assigned issue to
-
Hi Jack,
Your problem is due to lack of some sub-expression. I think that you forgot about the day of week. That mean you expression should look like:
0 0 9 5 1/3 ? *
That mean your issue will created every first 5 day of quarter at 9 o clock ;). Example next fire time for above expression:
- Wednesday, October 5, 2016 9:00 AM
- Thursday, January 5, 2017 9:00 AM
- Wednesday, April 5, 2017 9:00 AM
- Wednesday, July 5, 2017 9:00 AM
- Thursday, October 5, 2017 9:00 AM
You can find more information about cron expression here:
http://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger.html
What more here You can find cron maker - on this page you can easly create or validate cron expressions:
I hope this will help. For now I will resolve this issue but please feel fre to reopen it in case of any other problem ;)
Have nice day,
Jacek.
-
- changed status to resolved
-
- changed status to closed
- Log in to comment
Installed Version is 4.1.3