Coldfusion Scheduled Tasks, single quote in task name screws server up

The errors from accidentally putting a single quote somewhere in a scheduled task name in the CF Server Admin start like this:

Server (my local dev server) may start up and serve cfm pages, but error log has a bunch of errors.

The CFAdmin gives you a “The Cron service is not available” error

The server error log shows “error while reading header <VARIOUS HEADER NAMES HERE>”

The neo-cron.xml is invalid xml

Resolution: Since you can’t get back into CFAdmin, replace the neo-cron.xml with the default one (This will delete all your schedules tasks, but you can recreate them after the cfadmin works again). Or you can correct the syntax erro

Leave a Reply

Your email address will not be published. Required fields are marked *