如何在从ColdFusion 9升级到10之后修复预定任务 [英] How to fix scheduled tasks after upgrade from ColdFusion 9 to 10

查看:186
本文介绍了如何在从ColdFusion 9升级到10之后修复预定任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从ColdFusion 9升级并迁移到10后,我们所有的预定任务都消失了。在日志中,有Advance Scheduling支持在此版本的ColdFusion服务器中不可用错误。我知道这是一个已知的问题,在第一次更新中修复。在这一点上,ColdFusion 10是在更新10(文档说是累积,所以应该包括更新1),文档说,首先安装强制更新,然后更新10.我们在迁移之前这样做,但是我们的预定任务仍然不出现在CF管理控制台中。在其他主题的线程,我已经阅读,我们可能需要添加html扩展到新的neo cron.xml(我们有任务创建静态输出),但似乎不是直接相关到没有看到我们的预定任务的问题。有任何想法吗?我们在Windows Server 2003(SP2)/ IIS 6上运行CF。

After upgrading and migrating from ColdFusion 9 to 10, all of our scheduled tasks are gone. In the logs, there are "Advance Scheduling support is not available in this edition of ColdFusion server" errors. I know this is a known issue that was fixed in the first update. At this point, ColdFusion 10 is on update 10 (which docs says is cumulative so should include update 1), and documentation says to first install the mandatory update then update 10. We did this before migrating, however our scheduled tasks still do not appear in the CF admin console. In other threads on the subject, I've read that we may need to add the "html" extension to the new neo-cron.xml (we have tasks that create static output), but that doesn't seem to be directly correlated to the issue of not seeing our scheduled tasks at all. Any ideas? We're running CF on Windows Server 2003 (SP2)/IIS 6.

即使CF不能识别我们的任务,

Even if CF doesn't recognize our tasks, is there a way to take our neo-cron.xml from CF 9 and import it into 10 to recreate our tasks?

推荐答案

我相信CF10,任务需要一个 onComplete

I believe in CF10, tasks require an onComplete.

因此在标记之后

<struct type='coldfusion.scheduling.ScheduleTagData'>

为每个任务添加以下行

<var name='oncomplete'><string></string></var>

这篇关于如何在从ColdFusion 9升级到10之后修复预定任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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