• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Scheduled tasks dont run betwee 12am and 5am

New Here ,
Nov 13, 2023 Nov 13, 2023

Copy link to clipboard

Copied

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.

Views

69

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Nov 14, 2023 Nov 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. 

Votes

Translate

Translate
New Here ,
Nov 14, 2023 Nov 14, 2023

Copy link to clipboard

Copied

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 05, 2024 Apr 05, 2024

Copy link to clipboard

Copied

LATEST

Thanks for sharing the solution.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation