Koozali.org: home of the SME Server

[Announce] hddtemp-03.rpm & mailm-0.3.rpm as rpm for SME

gerald001

[Announce] hddtemp-03.rpm & mailm-0.3.rpm as rpm for SME
« on: April 20, 2005, 11:44:32 PM »
to the community,

together with mailm and hddtemp you may put some cronjobfile in /etc/cron.d or wherever for periodic check of your harddrive or use it for shutdown your server or ...

both rpms available at http://schwarzecker.homelinux.net/index.php in the section downloads.

example of checktemp.cron file in directory /etc/cron.d/ .

# check the temperature of harddisk daily and notify me
#
#+-----------------------Minute           (0-59)
#|     +-------------------Hour of Day    (0-23)
#|     |    +---------------Day of Month  (1-31)
#|     |    |    +-----------Month of Year (1-12)
#|     |    |    |    +-------Day of Week   (0=Sun,6=Sat)
#v     v    v    v    v
04     0    *    *    *    root /usr/sbin/hddtemp /dev/hda | mailm -t myname@mydomain.net -s "temp on hda on mySMEServer"

and restart your cron daemon with
/etc/rc.d/init.d/crond restart.

have fun and enjoy every day of your life
Gerald