S3Sync.net
February 02, 2014, 01:32:56 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 / Calling s3sync.rb from cron, s3config.yml not getting found on: September 18, 2007, 04:34:47 PM
First off, thanks for the development of this great tool.

I am trying to automate my syncs via cron, but I'm having some trouble with syntax and getting the script to pickup s3config.yml.  I'm using this command: (Fedora FC5)

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

Unfortunately, this command only works when I'm in /root/s3sync, and elsewhere errors on the require s3config line (~19).  Is there a way to pass the path of the s3config.yml manually?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!