From 81b05515d33f24b2a389624dc44931341ad7d323 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sat, 3 Oct 2020 22:58:53 -0600 Subject: [PATCH] fix missing smartctl binary when running collector via cron (empty PATH). fixes #76 --- docs/INSTALL_MANUAL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/INSTALL_MANUAL.md b/docs/INSTALL_MANUAL.md index 445f707..cbb95df 100644 --- a/docs/INSTALL_MANUAL.md +++ b/docs/INSTALL_MANUAL.md @@ -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" ```