From: ara.t.howard@... Date: 2006-06-07T07:47:20+09:00 Subject: Re: can I keep re-running the same script? how? On Wed, 7 Jun 2006, Daniel Berger wrote: >> >> >> sleep 180 >> exec ["ruby" + ARGV].join(' ') >> >> -a > In practice I would say this is a bad idea. What if you start this on a > server and forget about it? Then, some day down the road, the process starts > failing for whatever reason, and some poor admin is left wondering whether or > not it's safe to kill the process. Call me paranoid. > > Better to figure out why it's failing under cron. The most likely causes, in > my experience, tend to be environment variable issues and bad assumptions > about what Dir.pwd is. > > Regards, > > Dan dan is right of course. i didn't say it was a good idea - but you can do it ;-) -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama