代码之家  ›  专栏  ›  技术社区  ›  Ciaran Archer

coldfusion neo-cron.xml已经被修改过-当它还没有被修改时

  •  1
  • Ciaran Archer  · 技术社区  · 16 年前

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

    升级之后,我们注意到服务器上有很多这样的消息 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"
    

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

    我们可能不会注意到这一点,只是因为在两次重新加载之间的一段时间内 我们所有的计划任务都执行了两次 !但是,在重新加载 NEO-CRON.XML 复制停止。

    还有人遇到这个问题吗?

    事先谢谢。

    PS: 为计划任务启用日志记录 在CF管理系统中 不 启用。

    1 回复  |  直到 16 年前
        1
  •  1
  •   stubotnik    16 年前

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

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

    推荐文章