Skip to main content
Jun 21, 2011 10:02 PM UTC
Question

neo-cron.xml keeps getting re-written as blank object

Windows Server 2008, Coldfusion 9 (32-bit)

Not sure why, but the neo-cron.xml keeps getting re-written to become a 0 byte file. (This file takes care of the scheduler tasks.) It was fine before the 9.0.1 upgrade. Whenever I can't log into the Coldfusion administrator, I need to reload the file from my backup copy, save it and reboot Coldfusion Service.

For those that need a basic neo-cron.xml file because you do not have a backup, I was able to get one from the Internet. Simply use notebook and copy this into the neo-cron.xml located at /Coldfusion9/lib/

<wddxPacket version='1.0'><header/><data><array length='2'><struct type='coldfusion.server.ConfigMap'></struct><boolean value='false'/></array></data></wddxPacket>

After you restore your scheduled tasks, be sure to copy it some place where you can restore it from.

It would be nice if I did not have to restore this every few weeks. If anyone has some ideas as to why, I am open to testing.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    sdettling222
    Known Participant
    Jul 21, 2017 5:17 PM UTC

    Hey there..... I have been using CF for 20 years and I am all of a sudden my net-cron.xml file is experiencing the same thing every few days. Anyone help??? Thanks

    Translate
    Charlie Arehart
    Community Expert
    Community Expert
    Jul 21, 2017 5:50 PM UTC

    Are you finding that this is happening when CF is crashing? That's what I usually see. I'd focus on why it is, and fix that. There may be other negative implications of such crashes.(Solving such problems is what I do for a living, if you find you need help resolving it.)

    All that said, I do wish Adobe would do a better job preserving and recovering the file when it happens.

    Translate
    /Charlie (troubleshooter, carehart. org)