From: Robert Klemme Date: 2008-09-12T06:44:29+09:00 Subject: Re: Scripts dying mid-way On 11.09.2008 20:35, Peter Bailey wrote: > I've got a bunch of scripts that suddenly appear to be dying on me. When > I run them in my Ruby editor, Aracho, they run fine. But, when they're > scheduled with a scheduler and run on their own every ten minutes or so, > they run the first part of the script, but then stop. Here's a simple Did you consider that they might take longer than ten minutes and subsequent executions interfere with each other? Depending on what scheduler you use the reason for the slowness could be low process priority. It's probably a good idea to do two things: add a mechanism that will prevent concurrent executions of the same script and add logging. Kind regards robert