Is it possible to have Java Quartz threads run each second, or even by milliseconds? It seems like they can only run by the minute and nothing less.
Yes, you can make them run every second.
Take a look at TriggerUtils.makeSecondlyTrigger:
Make a trigger that will fire every second, indefinitely.
Or use a CronTrigger:
new CronTrigger("cronTrigger","group","* * * * * ?"); //fire at every second daily
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With