How to create a rake cron job in Heroku
![](https://blog.grio.com/wp-content/uploads/2013/06/cron-jobs.png)
A few weeks ago I had to deal with setting up a cron job that periodically updated some db tables of a Ruby on Rails application running on Heroku. Here’s a brief step-by-step tutorial to make your life easier in case you were approaching the same task.