Follow the instruction for creating the rake task for set in cron, in previous topics at below URL ……….

https://bharatsonis.wordpress.com/2014/12/04/about-rails-rake-tasks/

The rake task is the file of ruby with .rb extension,  that contains  the logic, for which you want to set a cron. 217 more words