How to control when smartd sends email notifications?

George Anchev <[email protected]> Tue, 5 Jul 2016 12:55:35 +0300
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <CAKbMyxCN2EeWViHOyHBCsJLZDxBATzvbjaSYzGeXAiAm2KpWFQ@mail.gmail.com>
Hi,

In my /etc/smard.conf I have:

DEVICESCAN -d removable -m root@localhost

and it works fine, sending emails at 23:35 each evening.

However I wonder:

1. What would happen if the computer is turned off at that time? Will
smartd send an email immediately when it the PC is turned on next morning?
Or will it wait for 23:35 next evening (when the machine can be off again)?

2. What would be the way to control at what time the email notifications
are sent? Running 'crontab -l' shows no crontab for root which means smartd
is not controlled by a cron job. How does this work?

3. Is it possible to get notifications immediately when a failure occurs?

--
George

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support