BrownTownCoder
BrownTownCoder

Reputation: 1372

TriggerUtils: How to make something trigger after a minute?

I have a Command that I want to trigger after lets say a minute. How will I be able to do that. As far as I understand, if I use makeMinutelyTrigger, it makes it trigger every minute, but the first trigger is immediate. I want the first trigger to be after a minute.

Upvotes: 0

Views: 258

Answers (1)

6ton
6ton

Reputation: 4214

Add a start time (startAt) to your trigger, the quartz documentation has numerous examples

Upvotes: 3

Related Questions