Life was like a box of chocolates. You never know what you're gonna get.
© 2023. All rights reserved.
$ heroku plugins:install https://github.com/naaman/heroku-vim $ heroku vim
$ heroku create --remote staging $ git push staging master $ heroku ps --remote staging
$ heroku addons:create scheduler:standard
app/bin/ping_server.py
import urllib2 try: urllib2.urlopen("https://sleepy-scrubland-5678.herokuapp.com/") print "URL Exist" except ValueError, ex: print "URL not well formatted" except urllib2.URLError, ex: print "URL don't seem to be alive"
$ heroku run python bin/ping_server.py
$ heroku addons:open scheduler