Skip to main content
Known Participant
Apr 1, 2014 11:33 AM UTC
Question

Scheduled Task Start Time format

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 is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    BKBK
    Community Expert
    Community Expert
    Apr 1, 2014 1:03 PM UTC

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

    Translate
    soltigerAuthor
    Known Participant
    Apr 2, 2014 6:31 AM UTC

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

    Translate
    BKBK
    Community Expert
    Community Expert
    Apr 2, 2014 12:47 PM UTC

    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