Problem
The requirement was to run CakePHP controller action as cron job on Heroku. In order to achieve this you need to schedule this action so that it runs at specific time intervals on Heroku.
To run the code you need to add Heroku scheduler Read more…