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 8963719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:25:13+00:00 2026-06-15T16:25:13+00:00

This is probably a simple question, but I am pretty new to using Quartz.NET,

  • 0

This is probably a simple question, but I am pretty new to using Quartz.NET, but how do you change the name of a job or trigger before scheduling? I am basically making a template job in a support class, and then using it in my main program that handles the scheduling.

Since I need unique names for each job/trigger, I was basically going to take the template job’s name like “SomeJob” to “SomeJob01” when I copy it in to the main program for scheduling.

This appears like it would be simple, but all I find when i search is people saying that you can’t change job details after they have been scheduled, where this one is I am changing the name so that I CAN schedule them.

  • 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. Editorial Team
    Editorial Team
    2026-06-15T16:25:14+00:00Added an answer on June 15, 2026 at 4:25 pm

    In Quartz, a job is separate from its scheduling trigger. You can add the same job with multiple triggers.

    I’m not entirely sure I understand what you are doing with the job, but to add it to Quartz, you can do:

    private const string DEFAULT_GROUP = "MyDefaultGroup";
    
    Trigger trigger = TriggerUtils.MakeHourlyTrigger();
    
    JobDetail jobDetail = new JobDetail("YourUniqueJobName", DEFAULT_GROUP, typeof(YourJobClass));
    
    // now add the job to Quartz
    scheduler.ScheduleJob(jobDetail, trigger);
    

    In this manner you can either add a new job with a unique name and assign a new trigger to it, or you could assign a new trigger to an existing job.

    But generally speaking, to modify something in Quartz, you have to remove it, change your object, and then re-add it.

    Here is an overview of jobs/triggers:
    http://quartznet.sourceforge.net/tutorial/lesson_2.html

    Here is more information on how triggers work:
    http://quartznet.sourceforge.net/tutorial/lesson_4.html

    Here is more information on how jobs work:
    http://quartznet.sourceforge.net/tutorial/lesson_3.html

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

Sidebar

Related Questions

I'm new to Xcode. This is probably a very simple question to you, but
This is probably (hopefully) a pretty simple question, but I can't seem to get
I'm quite new to nHibernate, so this'll probably be a pretty stupid question. But
Pretty simple question (probably) but I guess since im new to python im not
I know this is probably a pretty simple question, but i am trying to
I feel like this is probably a pretty simple question, but this is my
This is probably a simple question but using xmlhttp, how do I get the
This is probably a pretty simple issue but: I'm trying to name a file
This is probably a simple question but I can't seem to figure out how
This is probably a simple question but I am developing a web app in

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.