Scheduled Tasks not running - Coldfusion Server Administration

ε祈祈猫儿з 提交于 2019-12-20 01:41:13

问题


I have a series of scheduled tasks that all run at various times of the day. Since the migration from Coldfusion version 7 to 10, these tasks have stopped running.

When I check the box, that outputs the results to a file, I get a text file that says nothing more than "Connection Failure". I have tried everything imaginable regarding the username and password for the task. It makes no difference. When I run the CFM page in my browser, the page works correctly and generates an email just like it should. I just can't make it run as a scheduled event.


回答1:


Is the scheduled task folder has any check for the session or anything? I mean is the scheduled task folder is accessible without login? Please try with removing all the redirect rules for the application. That might work.




回答2:


For me the requests were timing out. I increased the timeout in the administrator and that solved it. Doing a cfhttp in a test file and dumping the results helped me troubleshoot it.



来源:https://stackoverflow.com/questions/27173133/scheduled-tasks-not-running-coldfusion-server-administration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!