PDA

View Full Version : Quartz Plugin and multiple jobs



justinbroughton
Jan 2nd, 2011, 12:08 PM
I have a multiple Quartz jobs which access the same objects in the database. Some of these jobs run for a long time and seem to conflict with each other. If there some way to make these jobs execute sequentially?

I have turned on concurrent=false, but this only affects one type of job not all jobs.

Thanks in advance.

pledbrook
Jan 11th, 2011, 06:18 AM
Do you want to schedule jobs to run at specific times, or do you simply want to run background tasks? Either way, it sounds like you want to queue your jobs. Consider using the Spring Events plugin for this with a single thread. If you don't need the scheduling, then you can use Spring Events without Quartz.