Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 82337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:36:04+00:00 2026-05-10T21:36:04+00:00

I am looking to use quartz to schedule emails, but I’m not sure which

  • 0

I am looking to use quartz to schedule emails, but I’m not sure which approach to take:

  1. Create a new job and trigger whenever an email is scheduled OR
  2. 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:36:05+00:00Added an answer on May 10, 2026 at 9:36 pm

    Quartz is intended to handle tens of thousands of triggers. The main limit to scalability here is the space available in your JobStore. A JDBCJobStore backed with a reasonable database should be able to handle hundreds of thousands of triggers.

    If a single job can be parameterized through the trigger’s job data map, create a single job and one trigger for each email. Quartz polls the job store periodically to look for triggers that are ready to fire. Quartz is designed to safely handle arbitrarily large result sets from this query.

    What matters—and this really has nothing to do Quartz itself—is that you have the necessary bandwidth to execute peak loads. If users tend to schedule mails in clumps, you need to make sure that you have the computing resources to get the emails out. This would include network bandwidth, processing, and enough worker threads configured to utilize the available resources.

    Note that you can configure what Quartz should do with a trigger if it does get too far behind in executing jobs. You can keep trying, skip the trigger, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking to use Javamail in a situation in which many emails will be
I am looking to use CloudConfigurationManager so I can take advantage of Azure configuration
I am looking to use an IOC container in my current project which is
I'm looking to use NVelocity in my ASP.NET MVC application, not as a view
I am looking to use this plugin: http://keith-wood.name/countdown.html but I need to use the
I am looking to use ServiceStack for an upcoming project, but I want to
I'm looking to use the MsmqIntegrationBinding to integrate with a legacy queue which has
I use EMR to create new instances and process the jobs and then shutdown
We looking to use Selenium grid to parallelize our tests but some of our
I'm not looking to use something big like QT or wxWidgets' APIs. I just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.