Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

pingu

0.2.0 • Public • Published

pingu

Pingu is a tiny little Heroku app pinger that prevents your dynos from falling asleep.

Kinda like that horrible guard guy on Reykjavik airport.

Pingu

Usage (recommended)

  1. Clone pingu. Run npm install.

  2. Create a pingu user.

  3. Save your Heroku API token somewhere in pingu user's ${HOME} and make sure you limit access (only make it readable by pingu)! You can source it in your pingu user ~/.bashrc file.

  4. Create a Cron job that runs pingu and pass it the Heroku token. Something like:

     */30 * * * * HEROKU_API_KEY=${HEROKU_API_KEY} ${HOME}/pingu/node_modules/.bin/coffee ${HOME}/pingu
    
  5. PROFIT!

Keywords

install

npm i pingu

Downloadsweekly downloads

7

version

0.2.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar