There's no way to tell you why something is taking a long time to run without knowing what that "something" is.
Generally speaking I'd suggest you enable some logging in your processes so you can see how far along certain tasks are and what's taking the longest. You might also be able to manually debug this by running this script manually now and checking the output.
Thank you so much for looking into this but i did not understand "some logging in your processes so you can see how far along certain tasks are and what's taking the longest.
Could you please explain?
Thank you again.
One part of your script is taking a lot longer to run, but you don't know
You could enable some type of logging, with timestamps so next time it
takes a long time to run, you review the logs and it might give you more
You should look into various techniques for writing to a log file when
On Nov 16, 2017 4:23 AM, "Sukhdeep Kaur" <email@example.com>
Thank you Tom. I will try this.