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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:42:34+00:00 2026-05-25T09:42:34+00:00

I am creating GUI interface in asp.net in which users will specify a time

  • 0

I am creating GUI interface in asp.net in which users will specify a time to schedule and a job which will run at sometime in the future.

The job in my application is an instance of a Person class (given below). At a specified time, I want to run the “submit()” method of the created person instance.

e.g.

public class Person
{
  string User {get;set;}
  public void Submit()
  {
     //create a text file with User entry

  }
}

Now in MS SQL, I have a Jobs table. Jobs table has ScheduledTime (DateTime), JobDetail (XML) columns (where JobDetail column stores serialized version of Person object e.g. <Person User="TestUser"></Person>, Scheduled time: 2/2/10 12:12:11

I am aware that Quartz.Net can run jobs at their scheduled time. But I don’t know how to use Quartz.Net with Spring.Net to pick up the jobs from DB and run them at their scheduled time?

Is it possible? If so can you please guide?

  • 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-05-25T09:42:34+00:00Added an answer on May 25, 2026 at 9:42 am

    There are two separate components you’ll need to implement. The trigger and something that polls for jobs to run. Based on your table structure so far it sounds like you want jobs that only run once and if not you’ll need to add a cron expression column and create CronTrigger objects.

    For polling for jobs to run you can find details on how to use Spring timer here:
    http://static.springsource.org/spring/docs/1.2.9/reference/scheduling.html

    An alternative to Spring is implementing your poller in the database. For example, creating an SQL Server schedule job, the approach we went with. The downside is that you need to design it to pickup jobs missed when the database server is down.

    Database approach details

    This design assumes only run once schedules (to add recurring you need to add a cron translation step) and it assumes that the work the schedule does can get kicked off by the database. Spring is a better solution if you can only do that programatically.

    1. add a column ‘processed’ to your jobs table
    2. create a stored proc that runs every minute (or whatever)
    3. that procedure looks for any jobs in the past not marked as processed, kicks them off and then marks them as done

    Related:

    How do I configure Quartz.NET host with Spring.NET

    Running a Job only once Using Quartz

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

Sidebar

Related Questions

I am creating a GUI application using Visual C# 2005 (net framework 2). I
I am creating a GUI in which my home page has a button labelled
I am working on creating a GUI to interface with a Citrix XEN server.
I am creating a GUI application(wxPython). I need to run another (.exe) application from
I'm creating a GUI application which interacts with database so I need fixture management
I am creating a GUI program using MVC which should look like this.. alt
Most of Apples documentation seems to avoid using autoreleased objects especially when creating gui
I am creating a GUI for a machine that runs remote (WinXP) or on
I am considering creating a GUI-based tool that I want to be cross-platform. I've
I am creating a GUI frontend for the Eve Online API in Python. I

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.