me75ag
Last Updated: February 25, 2016
·
274
· wookets
42ecc77ef4d505f20b02bce57a1dfab0

Using Coffeescript with Heroku Scheduler

  1. Put the below code snippit in {app}/scripts directory. e.g. scripts/example.coffee
  2. Deploy on to Heroku
  3. Add the Heroku Scheduler add-on
  4. Add Job with task $ coffee scripts/example.coffee
# {app_root}/scripts/example.coffee
console.log 'hello world'
Say Thanks
Respond