From: Robert Klemme Date: 2007-06-02T18:00:43+09:00 Subject: Re: Running multiple simultaneous interpreters/scripts On 01.06.2007 21:57, Joel VanderWerf wrote: > Earle Clubb wrote: >> I have a setup where cron is calling N instances of a particular Ruby >> script simultaneously. It seems that as N increases, the delay before >> each script executes its first line of code increases by a little less >> than N seconds. I'm not sure if this is an issue with cron or if it's >> the cumulative startup time for N ruby interpreters. An ideas on how to >> speed this up to a near constant (~<1sec) delay? Is there a way to run >> all N scripts simultaneously with a single interpreter process? Thanks. >> >> I'm using 1.8.5 on fc6. > > Why not fork the N instances from one ruby script called by cron? Or use threads to implement parallel execution. OP, what do your scripts do? Kind regards robert