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

fixes #76
This commit is contained in:
Jason Kulatunga
2020-10-03 22:58:53 -06:00
parent 1c7ca35ea7
commit 81b05515d3
+1 -1
View File
@@ -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"
```