[Git][NTPsec/ntpsec][master] Note a crontab issue.

Gary E. Miller gitlab at mg.gitlab.com
Wed Aug 31 22:08:10 UTC 2016


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
5a919794 by Gary E. Miller at 2016-08-31T15:06:11-07:00
Note a crontab issue.

- - - - -


1 changed file:

- contrib/smartctl-temp-log


Changes:

=====================================
contrib/smartctl-temp-log
=====================================
--- a/contrib/smartctl-temp-log
+++ b/contrib/smartctl-temp-log
@@ -24,6 +24,9 @@ Sample crontab usage:
 # take and log disk temp every 5 mins
 */5 * * * * /usr/local/sbin/smart-temp-log >> /var/log/ntpstats/temps
 
+Note, many distributions put smartctl in /usr/sbin, and do not
+put /usr/sbin in the PATH of programs executed by crontab.
+
 Not all hard drives support SMART.
 Not all of SMART drives are supported by smartctl.
 Not all smartctl compatible drives report temperature.



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5a919794afc25f5a2368fad8f3a688f374304002
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160831/b49403f4/attachment.html>


More information about the vc mailing list