fix missing smartctl binary when running collector via cron (empty PATH).

fixes #76
pull/85/head
Jason Kulatunga 4 years ago
parent 1c7ca35ea7
commit 81b05515d3

@ -146,5 +146,5 @@ This may be different depending on your OS/environment, but it may look somethin
crontab -e
# 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"
```

Loading…
Cancel
Save