monitor: update README for env changes
This commit is contained in:
parent
505c951f3e
commit
72c8a5d019
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue