Skip to main content
Participant
November 13, 2023
Answered

Scheduled tasks dont run betwee 12am and 5am

  • November 13, 2023
  • 1 reply
  • 281 views

Hi Everyone, 

I have a few dozen scheduled tasks on CF2023 and windows server 2022, with IIS 10 . Some run every minute, some daily, some weekly. They all run fine during the day and act as expected. But every night at midnight all but one of them (an hourly one) stops running. I cant find any errors in any of the logs, the scheduler log only shows the one that does run being triggered. The others just stop at 00:00 and start up again at 06:00. 

Here is an except from the scheduler log:

"Information","DefaultQuartzScheduler_Worker-2","11/12/23","23:58:45","","Task default.AMHS Track Monitor triggered."
"Information","DefaultQuartzScheduler_Worker-6","11/12/23","23:59:00","","Task Monitor.AMHS Status Monitor triggered."
"Information","DefaultQuartzScheduler_Worker-7","11/12/23","23:59:30","","Task Monitor.AMHS Monitor - Track Monitor triggered."
"Information","DefaultQuartzScheduler_Worker-4","11/13/23","00:00:00","","Task default.Pluto Lot Tracker triggered."
"Information","DefaultQuartzScheduler_Worker-8","11/13/23","01:00:00","","Task default.Pluto Lot Tracker triggered."
"Information","DefaultQuartzScheduler_Worker-1","11/13/23","02:00:00","","Task default.Pluto Lot Tracker triggered."
"Information","DefaultQuartzScheduler_Worker-5","11/13/23","03:00:00","","Task default.Pluto Lot Tracker triggered."
"Information","DefaultQuartzScheduler_Worker-3","11/13/23","04:00:00","","Task default.Pluto Lot Tracker triggered."
"Information","DefaultQuartzScheduler_Worker-9","11/13/23","05:00:00","","Task default.Pluto Lot Tracker triggered."
"Information","DefaultQuartzScheduler_Worker-10","11/13/23","06:00:00","","Task default.AMHS Storage Bins Monitor triggered."
"Information","DefaultQuartzScheduler_Worker-2","11/13/23","06:00:00","","Task default.AMHS Track Monitor triggered."
"Information","DefaultQuartzScheduler_Worker-6","11/13/23","06:00:00","","Task default.amhsCompletionsVsMTI triggered."
"Information","DefaultQuartzScheduler_Worker-7","11/13/23","06:00:00","","Task default.amhsMonitor triggered.

 

I've looked in all the cf logs available,the IIS log, and widows events. but cant find anything that would point to why these arent working during that specific time. Ive restarted the CF server. And adjusted the IIS server recycle settings. But nothing is working, please help.

    This topic has been closed for replies.
    Correct answer Jordan33528091qsjs

    I solved it. Cold Fusion was doing exactly what it was told. I misunderstood the "start time" a repeating event. I assumed if something was running hourly, it would run every hour from when it was started, but the "start time" is reset each day, so with a start time of 6am it was waiting until 6am each day to begin its hourly runs. It was only by happenstance that the one task that was running had a start time of 12am. 

    1 reply

    Jordan33528091qsjsAuthorCorrect answer
    Participant
    November 14, 2023

    I solved it. Cold Fusion was doing exactly what it was told. I misunderstood the "start time" a repeating event. I assumed if something was running hourly, it would run every hour from when it was started, but the "start time" is reset each day, so with a start time of 6am it was waiting until 6am each day to begin its hourly runs. It was only by happenstance that the one task that was running had a start time of 12am. 

    BKBK
    Community Expert
    Community Expert
    April 5, 2024

    Thanks for sharing the solution.