Skip to main content
Known Participant
April 1, 2014
Question

Scheduled Task Start Time format

  • April 1, 2014
  • 1 reply
  • 651 views

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"...

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    April 1, 2014

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

    soltigerAuthor
    Known Participant
    April 2, 2014

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

    BKBK
    Community Expert
    Community Expert
    April 2, 2014

    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.