Download the PHP package dyno-php-lib/quantity-updater without Composer
On this page you can find all versions of the php package dyno-php-lib/quantity-updater. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dyno-php-lib/quantity-updater
More information about dyno-php-lib/quantity-updater
Files in dyno-php-lib/quantity-updater
Download dyno-php-lib/quantity-updater
More information about dyno-php-lib/quantity-updater
Files in dyno-php-lib/quantity-updater
Vendor dyno-php-lib
Package quantity-updater
Short Description Small library, which could help you save some money and schedule quantity of Heroku Dynos for free.
License MIT
Package quantity-updater
Short Description Small library, which could help you save some money and schedule quantity of Heroku Dynos for free.
License MIT
Please rate this library. Is it a good library?
Informations about the package quantity-updater
Dyno quantity updater (with help of Scheduler)
Small library, which could help you save some money and schedule quantity of Heroku Dynos for free.
Requirements
- Dynos types Hobby or Professional
- installed free Heroku Scheduler
- generated Heroku API Key
How to use
-
install into your project
composer require dyno-php-lib/quantity-updater
HEROKU_TOKEN
- Heroku API KeyHEROKU_APP_NAME
- Heroku app nameHEROKU_DYNO_NAME
- dyno name, defined in Procfile (for example: web)DESIRED_HEROKU_DYNO_QUANTITY
- qty of Dynos you want to have after updateDAYS_OF_WEEK
- comma separated list of an textual representation of a day, three letters (Mon through Sun)HOURS
- comma separated list of 24-hour format of an hour without leading zeros (1 through 24)
Example
how to stop dyno for weekend:
- add new Job into Scheduler to disable dyno:
php dyno-quantity-updater.php HEROKU_TOKEN HEROKU_APP_NAME HEROKU_DYNO_NAME 0 Fri 22
- add new Job into Scheduler to enable dyno:
php dyno-quantity-updater.php HEROKU_TOKEN HEROKU_APP_NAME HEROKU_DYNO_NAME 1 Mon 6
- this jsobs should be startet hourly in 10th min.
Contributing
Code of conduct
License
All versions of quantity-updater with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.6 | ^7.0 | ^8.0
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package dyno-php-lib/quantity-updater contains the following files
Loading the files please wait ....