Permalink
Browse files

Added bin wrapper

  • Loading branch information...
1 parent 6eb0355 commit 1ed1e306fadaeee3662382b3636855d7aedb3716 @alloy alloy committed Jul 10, 2009
Showing with 12 additions and 9 deletions.
  1. +1 −9 TODO
  2. +11 −0 bin/fingertips-backup
View
10 TODO
@@ -1,12 +1,4 @@
-* Log:
- * Executioner
- * Output of commands
- * SSH
- * Catched exception during run
-
-* Write logs to a feed so we can see it's output daily
-
-* Create bin wrapper
+* Where to host the feed?
* Install on miller and add cron job
View
11 bin/fingertips-backup
@@ -0,0 +1,11 @@
+#!/usr/bin/env ruby
+
+$:.unshift(File.expand_path('../../lib', __FILE__)) if $0 == __FILE__
+require 'backup'
+
+if config = ARGV.first
+ Fingertips::Backup.new(config).run!
+else
+ puts "Usage: #{$0} /path/to/config.yml"
+ exit 1
+end

0 comments on commit 1ed1e30

Please sign in to comment.