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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:10:26+00:00 2026-05-16T15:10:26+00:00

I am using a Quartz Cron trigger in my java program. The Cron expression

  • 0

I am using a Quartz Cron trigger in my java program. The Cron expression I used is 0 0 * * * ?

Now I wanted a scheduler to execute once an hour. To test the same started my jboss server and after that I reset my windows time to something like 5:59:45 and at 6:00:00 the scheduler did not fire.

Now the next time I first adjusted the time to say 5:55:00 and then I started the server and lo the scheduler fired at 6:00:00.

Does the server or scheduler maintain time internally, of course initialized with system timing initially ??

  • 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-16T15:10:27+00:00Added an answer on May 16, 2026 at 3:10 pm

    According to Quartz CronTrigger source code, the trigger retains the date of the next time it should fire.

    I suppose that if you start the server at 6:15:00, Quartz retains 7:00:00 as the next firing time. Changing the server time to 5:55:45 doesn’t update the next firing time, and 7:00:00 is retained as next firing time. So the event won’t fire at 6:00:00, but instead at 7:00:00.

    So, time isn’t retained directly, but firing time is retained, and it appears it isn’t updated if you change your system clock.

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

Sidebar

Related Questions

I'm using Quartz Scheduler v.1.8.0. How do I get the cron expression which was
I am using quartz scheduler to schedule my job. I have used CronTrigger. But
I am using Quartz.NET, and my scheduler relies heavily on the use of cron
Started using Quartz.net in my project. But got stuck. Using cron trigger fires only
i have a problem with using cron trigger in Quartz.net. My code: var trigger
We're using quartz (the java API) for job scheduling. This works well. Now I'm
I'm currently using Quartz Scheduler as a replacement for Cron on our Windows 2003
I am using Quartz for Scheduling my job in java. I have used CronTrigger
I just created a cron job like job using Quartz.net. For the test, it
I am using Quartz.Net and I am trying to come up with a CRON

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.