How to timeout a long running arcpy operation like (Spatial Join or Identity)

Discussion created by aroranidh on May 7, 2012
Latest reply on May 7, 2012 by curtvprice
I have a Spatial join operation which works on huge volume of data. Sometimes it???s done in few minutes but randomly takes couple of hours.
Is there any way to track the timelines of any ongoing   arcpy method, so that the process can be interrupted if the method takes a long time?