0

I inherited a coldfusion MX7 application that has a long running process, which the user kicked by accident.

By my calculations, at the current rate, the job will run for 3 days.

There doesnt seem to be a way through the administrator interface to stop a job that is running.

The table that is being filled can be easily repopulated, so I would think stopping the coldfusion service wont effect anything except the table, which isnt a problem.

Am I right? Is that safe? Is there another way?

James A Mohler
  • 11,060
  • 15
  • 46
  • 72
Rick Hodder
  • 2,189
  • 3
  • 26
  • 54

2 Answers2

3

a one-time restart of the service should be fine. for the future, you may want to add a required url param or other such safety mechanism to keep this long process from accidentally going off.

  • 1
    Restarting the service could be disruptive. Depending on what the scheduled job is doing, it might be better to let it run. It's a judgement call. – Dan Bracuk Nov 27 '12 at 01:40
1

Check to see if the task already has an explicit timeout out set

Otherwise the default page time out is used

For newer versions of ColdFusion 8 and above, you can kill a running page with with the Server Monitor in the section labeled "Aborting unresponsive or troublesome requests/threads"

It also may be possible to stop the processing by killing the SQL Server Task:

Community
  • 1
  • 1
James A Mohler
  • 11,060
  • 15
  • 46
  • 72