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

ColdFusion scheduler executes alltasks 1 hour early

Enthusiast ,
Sep 25, 2013 Sep 25, 2013

Copy link to clipboard

Copied

Hi,

Our CF10 (Windows 2012, IIS8) has a number of scheduled tasks, but all are running 1 hour early. Our clock is set to GMT, and the tasks run GMT-1. The time settings in Windows are set correctly for our location - UTC London with daylight saving time.

Why is CF10 getting the time wrong? Does it take into account daylight saving?

Thanks,

Mark

Views

725

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
Engaged ,
Sep 26, 2013 Sep 26, 2013

Copy link to clipboard

Copied

Yes, it takes daylight saving into account.

#getTimeZoneInfo().utcHourOffset#

For example, Where I am now is PDT, which -8. In November, when the time back to PST, it will be -7.

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
Enthusiast ,
Sep 27, 2013 Sep 27, 2013

Copy link to clipboard

Copied

LATEST

The issue here is that the IIS logs are out by an hour. I watched the server more closely and it did call a scheduled task at the correct (local) time. IIS logs in IIS format are correct. IIS in W3C format do not respect local time by default. One to be aware of!

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