Run travis as cron (also supports travis PRO)
Try locally:
cp config{.example,}.yml
# edit config.yml
bundle exec rake cron
setup production section in config.yml
heroku create traviscron
rake heroku:configure # copies config.yml into heroku ENV
git push heroku
# make sure everything is set up correctly
heroku run rake cron
heroku addons:add scheduler
heroku addons:open scheduler
add bundle exec rake cron
daily
- Setup a dead man switch so you know the cron is still running and then change the cron to:
bundle exec rake cron && curl https://nosnch.in/xxxxx
- Setup a airbrake project to monitor errors and add
:report_errors_to:
to config.yml
Michael Grosser
[email protected]
License: MIT