Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Joaquin Garcia

Greenhorn
+ Follow
since May 24, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joaquin Garcia

Winston Gutkowski wrote:

Joaquin Garcia wrote:It would appear 60 it's not an accepted value for seconds, minutes and hours. Even though it appears to work, wouldn't a 0 instead of 0/60 be the intended setup?


Certainly it would in a crontab, so if Quartz uses the same format...

However, did you realize that you've revived a Thread that is nearly 3 years old?

Winston



Thanks for the reply. Yes, I know. I was looking for the correct setup on hourly triggers and this one was the only one providing an exact example which came up on first page searches. So I guess its still of use nowadays to whomever comes accross such a question.

joe
9 years ago

Rob Spoor wrote:I think that testing yourself is usually faster than posting a message on some forum, then waiting for a reply. In this case, you have proven just that. You got the test up and running before even one reply was posted.



Still found the confirmation quite useful to save me time testing it. There seems to be some confusion on the accepted values by looking at the table on http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger . It would appear 60 it's not an accepted value for seconds, minutes and hours. Even though it appears to work, wouldn't a 0 instead of 0/60 be the intended setup?

Thanks for the question/self answer!
9 years ago