I am looking to use quartz to schedule emails, but I'm not sure which approach to take:
- Create a new job and trigger whenever an email is scheduled OR
- Create a single job, and create a new trigger each time an email is scheduled
I need to pass the message/recipient etc either way, and I'm not sure whether creating heaps of jobs will start adding considerable memory overheads, as there will quite possibly be thousands of emails scheduled.
Update: These emails will be scheduled by users, not by me - so I will be adding these programmatically at runtime, they aren't scheduled to go out at any particular time.