I'm using Quartz Scheduling, more specifically a cron trigger set to wake up at 10PM every day of the week.
Another group I interface with are asking how many times during the day will the scheduler wake up to check if it needs to run jobs. The 10PM job is the only one configured. I assume that it will only wake up at that time.
I looked at the documentation but didn't see anything. If someone knows where its mentionned in the docs I would love to know.
Thanks.
From the configuration docs:
org.quartz.scheduler.idleWaitTime
Is the amount of time in milliseconds that the scheduler will wait before re-queries for available triggers when the scheduler is otherwise idle. Normally you should not have to 'tune' this parameter, unless you're using XA transactions, and are having problems with delayed firings of triggers that should fire immediately.
It defaults to every 30 seconds until it finds a trigger. Once it finds any triggers, it gets the time of the next trigger to fire and stops checking until then, unless a trigger changes.
So if you've got a single once-a-day trigger that never changes, it wakes up once a day to check.
We use Oracle to store our jobs and triggers and with a few hundred triggers we have negligible database traffic.
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