Skip to main content
June 21, 2011
Question

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

  • June 21, 2011
  • 1 reply
  • 2953 views

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 has been closed for replies.

    1 reply

    sdettling222
    Known Participant
    July 21, 2017

    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

    Charlie Arehart
    Community Expert
    Community Expert
    July 21, 2017

    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.

    /Charlie (troubleshooter, carehart. org)