My daily script run has begun hanging over the last couple of days. I haven’t changed anything related to that test driver machine, nor have I updated the script that kicks off all the tests.
My basic script loops like this:
repeat with each line in theConnectionList connect value(it) (*do stuff*) sendMail(to:me,subject:"All's Well",body:theMessage) end repeat
The first iteration of the loop works correctly. Sometime during the second loop, runscript hangs. No exceptions, nothing in the logs indicate that anything’s wrong, and I have to force quit one or more instances of the app.
A couple of words about this machine. It has 3 licenses. The above script is kicked off by a remote machine sending a runscript command via the shell. There’s another script that is run every 3 hours using an available license against a completely different machine than the set that are used for the loop.
None of this happens from the GUI on the same machine (of course). I just ran the loop twice while typing this up. I’d like to debug this. I’ve rebooted the machine a couple of times, but that doesn’t seem to fix it. I’ve also cleared breakpoints out of the GUI, but I doubt that has little to do with this.
Thanks for any help.