fix missing smartctl binary when running collector via cron (empty PATH).
fixes #76
This commit is contained in:
@@ -146,5 +146,5 @@ This may be different depending on your OS/environment, but it may look somethin
|
|||||||
crontab -e
|
crontab -e
|
||||||
|
|
||||||
# add a line for Scrutiny
|
# add a line for Scrutiny
|
||||||
*/15 * * * * /opt/scrutiny/bin/scrutiny-collector-metrics-linux-amd64 run --api-endpoint "http://localhost:8080"
|
*/15 * * * * . /etc/profile; /opt/scrutiny/bin/scrutiny-collector-metrics-linux-amd64 run --api-endpoint "http://localhost:8080"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user