unknown wrote:
> Hi,
> 
> At Wed, 7 Jun 2006 11:22:00 +0900,
> Jeff Pritchard wrote in [ruby-talk:196251]:
>> pieces = [ruby, $0].concat(ARGV)  # $0 is program name
>> exec pieces.join(' ')                        # to string and execute it
> 
> You don't need join here.
> 
>   exec *pieces
> 
> is safe even if ARGV contains spaces.

I got the cron working by doing two things.  Using Tar2RubyScript and 
then the crontab syntax below:

*/5 * * * * ruby /var/www/quickbase/sae_sync/auto_sync.rb

Before I had:

*/5 * * * * /var/www/quickbase/sae_sync/ruby auto_sync.rb

That being said, I am going to learn how to create some .sh scripts and 
I think that will be useful.  Thank you for all the help.

-- 
Posted via http://www.ruby-forum.com/.