S3Sync.net
February 02, 2014, 01:38:42 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: Ruby script fails if called by cron (but works in shell) on: March 19, 2009, 03:42:26 AM
This is going to be due the difference in your environment. Cron has a pretty empty environment by default.

Best thing to do is type "set" on the command line and add "set" to the script and compare the two. There will be one or more values missing from the cron environment which will need adding in the script (export xxx=yyy)
2  General Category / Questions / Re: Price of s3sync on: January 29, 2009, 12:52:46 PM
Each LIST request will return something like 1,000 files, with multiple requests needed to fetch details of further files.

As a result, say you have 3,000 files that would require 3 LIST requests to fetch details about each. This is needed on each s3sync invocation to build the server list, for comparison with the local list.

The cost of running s3sync is:

Cost of LIST requests (which depends on the number of files already on the server)
+
Cost of files to upload (new files not on the server)

With the former always applying even if there are no new files to upload.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!