From: Christian F. <Chr...@t-...> - 2015-11-02 17:47:20
|
Yan Pashkovsky wrote: > I have entered this options in /etc/smard.conf : "DEVICESCAN -a -s > L/../01/./.." > > This means that long tests would be performed every 1st day of every > month in midnight (00:00) > I'm curios what will happen if my computer will be turned off whole 1st > of December. This depends on smartd '-s PREFIX' command line option and compile time configuration: > When I turn it on on the 2nd of December - will the test > begin? Yes - if '-s PREFIX' is specified or configured during compile time, > Or the next test will start at 1st January? Yes - otherwise. > It would be fine if this answer will be placed to smartd.conf man, in > section "-s REGEXP" $ man smartd.conf ... -s REGEXP ... If the scheduled tests are used in conjunction with state per- sistence (´-s´ option), smartd will also try to match the hours since last shutdown (or 90 days at most). If any test would have been started during downtime, the longest (see above) of these tests is run after second device polling. If the ´-n´ directive is used and any test would have been started during disk standby time, the longest of these tests is run when the disk is active again. Regards, Christian |