Sha256: 739ddce8ba767ebfa40b1c577c71f4e1fd7ccf64305836edd682e7cdd36d0fc3
Contents?: true
Size: 557 Bytes
Versions: 11
Compression:
Stored size: 557 Bytes
Contents
#!/usr/bin/env ruby # Use: # sweety_backy /path/to/sweety_backy.conf begin require 'sweety_backy' rescue LoadError require 'rubygems' require 'sweety_backy' end require 'benchmark' if( ARGV[0].nil? ) SweetyBacky::Utils.log "use: $ sweety_backy <config_file_path>" exit 1 end lapsus_time = Benchmark.realtime do SweetyBacky::Utils.log "--------------------" SweetyBacky::Utils.log "Starting SweetyBacky" sb = SweetyBacky::Runner.new( ARGV[0] ) sb.run end SweetyBacky::Utils.log "SweetyBacky on #{lapsus_time} seconds"
Version data entries
11 entries across 11 versions & 1 rubygems