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

Scheduled Task Start Time format

New Here ,
Apr 01, 2014 Apr 01, 2014

Hi,

I'm using ColdFusion version 10,0,11,285437.

I'm trying to create a Scheduled Task using ColfFusion admin page. If I set Start Time as "1:00 AM", I get message saying:

"An error occured scheduling the task.

1:00:00 ap. is an invalid date or time string."

And same error message comes with any input. Here are some examples what I have tried:

"01:00", "13:00", "13:00:00", "1:00:00 PM"...

621
Translate
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 01, 2014 Apr 01, 2014

I have just looked. The mouseover tip says you should use: 01:00 AM

Translate
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
New Here ,
Apr 01, 2014 Apr 01, 2014

Entering "01:00 AM" also gives the same error.

Translate
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 02, 2014 Apr 02, 2014
LATEST

Sorry about that. I can now see it is a known bug, apparently due to Java 7. One workaround is to add the flag -Dsun.locale.formatasdefault=true to the JVM arguments in the ColdFusion Administrator or in the file jvm.config.

Translate
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