Coldfusion neo-cron.xml已被修改 - 当它还没有被修改 [英] Coldfusion neo-cron.xml has been modified - when it hasn't been

查看:140
本文介绍了Coldfusion neo-cron.xml已被修改 - 当它还没有被修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚从CF 9升级到9.0.1(ColdFusion 9 Update 1)。我们在Windows Server 2008上运行。



升级后,我们注意到我们的服务器上,我们在服务器中收到了很多这些消息。日志

 信息,scheduler-6,10/05/10 ,12:34:48,,neo-cron.xml已被修改重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,调度程序-5,10/05 / 10,14:54:50,,neo-cron.xml已被修改重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,scheduler-8 05/10,15:53:51,,neo-cron.xml已被修改重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,scheduler-19 10/05/10,16:57:52,,neo-cron.xml已修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,scheduler-18 ,10/05/10,19:12:54,,neo-cron.xml已修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息, 4,10/05/10,21:32:56,,neo-cron.xml已被修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,调度程序-17,10/05/10,22:32:57,,neo-cron.xml已经修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,调度程序7,10/06/10,02:15:00,,neo-cron.xml已经修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,scheduler-10,10/06/10,05:33:06,,neo-cron.xml已经修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,调度程序0,10/06/10,06:50:08,,neo-cron.xml已经修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,调度程序-4,10/06/10,07:33:09,,neo-cron.xml已经修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a
信息,scheduler-15,10/06/10,08:40:10,,neo-cron.xml已经修改。重新加载服务coldfusion.scheduling.CronServiceImpl@c020a

我们没有碰到 neo-cron.xml 文件,但自从升级后,每隔几小时CF认为文件已更改。



注意到这只是因为在两次重载之间的一段时间,所有我们的计划任务被执行两次!然而,在另一次重新加载 neo-cron.xml 重复已停止。



有其他人遇到此问题吗?





PS: 启用日志记录功能。

$ < b $ b

解决方案

我不确定任务的倍增,但我也注意到 neo-cron.xml 被不断修改。



看起来他们已经为每个任务添加了一个新节点, last_run ,它在每次执行任务后更新。


We've just upgraded from CF 9 to 9.0.1 (ColdFusion 9 Update 1). We're running on Windows Server 2008.

After the upgrade we noticed on our server that we were getting a lot of these messages in server.log:

"Information","scheduler-6","10/05/10","12:34:48",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-5","10/05/10","14:54:50",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-8","10/05/10","15:53:51",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-19","10/05/10","16:57:52",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-18","10/05/10","19:12:54",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-4","10/05/10","21:32:56",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-17","10/05/10","22:32:57",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-7","10/06/10","02:15:00",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-10","10/06/10","05:33:06",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-0","10/06/10","06:50:08",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-4","10/06/10","07:33:09",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"
"Information","scheduler-15","10/06/10","08:40:10",,"neo-cron.xml  has been modified . Reloading the service coldfusion.scheduling.CronServiceImpl@c020a"

We have not touched the neo-cron.xml file, but since the upgrade, every few hours CF thinks the file has been changed.

We probably would not have noticed this only for the fact that for a period between 2 of the reloads all our scheduled tasks were being executed twice! However, after another reload of neo-cron.xml the duplication stopped.

Has anyone else come across this issue?

Thanks in advance.

PS: Enable logging for scheduled tasks in CF admin is not enabled.

解决方案

I'm not sure about the doubling up of tasks, but I also noticed that neo-cron.xml was constantly being modified.

Looks like they've added a new node to each task, last_run, which is updated after each execution of a task.

这篇关于Coldfusion neo-cron.xml已被修改 - 当它还没有被修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆