monitor: update README for env changes

This commit is contained in:
Harsh Shandilya 2020-11-04 13:34:32 +05:30
parent 505c951f3e
commit 72c8a5d019
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
1 changed files with 3 additions and 3 deletions

View File

@ -7,17 +7,17 @@ Simple binary that's designed to execute arbitrary tasks and notify a provided h
### Execute an arbitrary task
```shell
HEALTHCHECKS_TOKEN=<token> healthchecks-monitor -X sleep 10
HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -X sleep 10
```
### Start off a timer server-side
```shell
HEALTHCHECKS_TOKEN=<token> healthchecks-monitor -tX sleep 10
HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -tX sleep 10
```
### Use a custom user agent
```shell
HEALTHCHECKS_USERAGENT=crontab HEALTHCHECKS_TOKEN=<token> healthchecks-monitor -tX sleep 10
HEALTHCHECKS_USERAGENT=crontab HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -tX sleep 10
```