Using Coffeescript with Heroku Scheduler
- Put the below code snippit in {app}/scripts directory. e.g. scripts/example.coffee
- Deploy on to Heroku
- Add the Heroku Scheduler add-on
- Add Job with task $ coffee scripts/example.coffee
# {app_root}/scripts/example.coffee
console.log 'hello world'
Written by Sean Wesenberg
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#