Simplify syncing via a script wheee

This commit is contained in:
Dan Buch 2016-08-31 16:58:10 -04:00
parent 9889d8710b
commit 28841035af
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC
2 changed files with 3 additions and 1 deletions

View File

@ -17,5 +17,5 @@ A copy of this thing is deployed to Heroku with a Heroku Scheduler addon
configured to run the following once daily: configured to run the following once daily:
``` bash ``` bash
bundle exec ruby cpi_fetcher.rb | bundle exec ruby mini_s3put.rb bundle exec ./sync
``` ```

2
sync Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
ruby cpi_fetcher.rb | ruby mini_s3put.rb