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?

regards,
Nidhi