Files
gsmartcontrol/contrib/cron-based_noadmin
Alexander Shaduri a6f5ad018f Tagging 0.8.3:
A random "Smartctl returned an empty output" error on Windows was fixed.
        Thanks to Zurab Khetsuriani for testing.
    Fixed a parser issue which prevented running self-tests in Windows.
    The supplied icon (hopefully) shows correctly in Windows 2000 now.
    This release adds an official support for Windows 2000 SP4.
    Added scripts to allow GSmartControl to read smartctl data from
        cron-generated files. This allows users to read somewhat recent
        smartctl information without having to run GSmartControl as root.
        Generously contributed by Alex Butcher <alex dot butcher 'at'
        assursys.co.uk>.
    Configure script correctly aborts instead of printing a warning if gtkmm
        or libglademm (if needed) is not found.
    Configure script now accepts --enable-windows-console,
        --disable-abort-if-no-gtkmm, --disable-abort-if-no-glade-reader,
        as well as Windows-supporting "auto" for --enable-nsis-wine and
        --with-nsis.
    Configure's --with-win32-env has been renamed to --with-windows-dlls.
    The "About" dialog shows version information now.
    Minor bugs were fixed.
2010-12-26 19:40:44 +00:00
..
2010-12-26 19:40:44 +00:00
2010-12-26 19:40:44 +00:00
2010-12-26 19:40:44 +00:00
2010-12-26 19:40:44 +00:00

This directory contains scripts and an example crontab to allow GSmartControl
to read smartctl data from cron-generated files. This allows users to read
somewhat recent smartctl information without having to run GSmartControl as
root.

Put the scripts into /usr/local/bin, run GSmartControl and set smartctl path
to "/usr/local/bin/smartctl_subst.sh" (without quotes). An example crontab
runs cron_gather_smart.sh script every 10 minutes, storing its output to
"/var/run/smart-$devname". The smartctl_subst.sh script prints the contents of
this file instead of running smartctl, thus eliminating the need to run
GSmartControl as root when reading SMART values.

Note: These scripts provide read-only capabilities only, they don't allow
changing SMART settings or running self-tests.

Contributed by Alex Butcher <alex dot butcher 'at' assursys.co.uk>.