Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timneutkens/http-ping
https://github.com/timneutkens/http-ping
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/timneutkens/http-ping
- Owner: timneutkens
- Created: 2017-12-19T20:17:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T15:51:47.000Z (almost 7 years ago)
- Last Synced: 2024-10-04T12:41:29.355Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# HTTP ping
Small microservice to do a HTTP `GET` request to the specified url at an interval.
## Usage
```
now timneutkens/http-ping
```you will be asked for an `INTERVAL` this can be any string compatible with [friendly-cron](https://www.npmjs.com/package/friendly-cron). For example: `every 10 minutes` or `every minute`.
Secondly you'll be asked for `URL` which is the url to send the `GET` request to.
After the deployment has completed you can scale it to 1 instances, to prevent it from going to sleep:
```
now scale 1
```