heroku-scaler

1.1.0 • Public • Published

Heroku Scaler

HEROKU_TOKEN=token-here APP_NAME=name-here npm start on to scale up your free dyno.

HEROKU_TOKEN=token-here APP_NAME=name-here npm start off to scale down your free dyno.

To run from Heroku Scheduler, first npm install --save heroku-scaler and deploy to Heroku. Then, in Scheduler, schedule the command HEROKU_TOKEN=token-here APP_NAME=name-here node ./node_modules/heroku-scaler/bin/heroku-scaler.js on (or off). Alternatively, set the environment variables beforehand, and just use node ./node_modules/heroku-scaler/bin/heroku-scaler.js on or node ./node_modules/heroku-scaler/bin/heroku-scaler.js off.

Package Sidebar

Install

npm i heroku-scaler

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • gsw