Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timneutkens/http-ping


https://github.com/timneutkens/http-ping

Last synced: 21 days ago
JSON representation

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
```