S3Sync.net
February 02, 2014, 01:38:52 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Re: Calling s3sync.rb from cron, s3config.yml not getting found on: September 24, 2007, 08:18:45 AM
Just change your process to "cd" to the directory where s3sync.rb (and I assume s3config.yml) is installed at.  For example:

cd /root/s3sync && /usr/bin/ruby ./s3sync.rb -r --ssl /my_dir_to_backup bucket:pre

Since you're fully qualifying the path to backup, the location the script runs from doesn't matter for the process, so this just starts it out in the "installed" directory.

- Jon
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!