<div dir="ltr"><div class="gmail-votecell gmail-post-layout--left" style="margin:0px;padding-top:0px;padding-bottom:0px;padding-left:0px;border:0px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-stretch:inherit;line-height:inherit;font-size:13px;vertical-align:top;box-sizing:inherit;width:auto;color:rgb(35,38,41)"><div class="gmail-js-voting-container gmail-d-flex gmail-jc-center gmail-fd-column gmail-ai-stretch gmail-gs4 gmail-fc-black-200" style="padding:0px;border:0px;font-family:inherit;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;display:flex"><div class="gmail-js-vote-count gmail-flex--item gmail-d-flex gmail-fd-column gmail-ai-center gmail-fc-black-500 gmail-fs-title" style="padding:0px;border:0px;font-family:inherit;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;display:flex">0</div><button class="gmail-js-vote-down-btn gmail-flex--item gmail-s-btn gmail-s-btn__unset gmail-c-pointer" aria-label="Down vote" aria-describedby="--stacks-s-tooltip-7l6318tw" style="box-sizing:inherit;font-size:unset;padding:0px;border:none;border-radius:0px;outline:none;font-family:unset;line-height:unset;font-variant-caps:unset;font-stretch:unset;background-image:none"></button><button class="gmail-js-bookmark-btn gmail-s-btn gmail-s-btn__unset gmail-c-pointer gmail-py4 gmail-js-gps-track" aria-label="Bookmark" aria-describedby="--stacks-s-tooltip-v6zdj00v" style="margin:0px;box-sizing:inherit;font-size:unset;padding:0px;border:none;border-radius:0px;outline:none;font-family:unset;line-height:unset;font-variant-caps:unset;font-stretch:unset;background-image:none"></button><a class="gmail-js-post-issue gmail-flex--item gmail-s-btn gmail-s-btn__unset gmail-c-pointer gmail-py6 gmail-mx-auto" href="https://unix.stackexchange.com/posts/705388/timeline" aria-label="Timeline" aria-describedby="--stacks-s-tooltip-3op1s76z" style="padding:0px;border:none;font-family:unset;font-variant-caps:unset;font-stretch:unset;line-height:unset;font-size:unset;vertical-align:baseline;box-sizing:inherit;text-decoration:none;color:rgb(35,38,41);display:inline-block;border-radius:0px;outline:none;text-align:center;background-image:none"></a></div></div><div class="gmail-postcell gmail-post-layout--right" style="margin:0px;padding-top:0px;padding-bottom:0px;padding-left:0px;border:0px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-stretch:inherit;line-height:inherit;font-size:13px;vertical-align:top;box-sizing:inherit;width:auto;min-width:0px;color:rgb(35,38,41)"><div class="gmail-s-prose gmail-js-post-body" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;word-wrap:break-word;width:658px"><p style="margin-top:0px;margin-right:0px;margin-left:0px;padding:0px;border:0px;font-family:inherit;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both">I am using smartd to monitor my disks in Ubuntu and have it configured to run a short scan daily at 2am and a long test 3am every Saturday morning:</p><p style="margin-top:0px;margin-right:0px;margin-left:0px;padding:0px;border:0px;font-family:inherit;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both"><code style="margin:0px;border:0px;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;white-space:pre-wrap">/dev/sda -a -n standby -o on -S on -s (S/../.././02|L/../../6/03) -m <a href="mailto:name@mail.com">name@mail.com</a></code></p><p style="margin-top:0px;margin-right:0px;margin-left:0px;padding:0px;border:0px;font-family:inherit;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both">I understand that smartd periodically polls the disks (every 30mins?) causing them to wakeup if in stand by, hence I have added the<span class="gmail-Apple-converted-space"> </span><code style="margin:0px;border:0px;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;white-space:pre-wrap">-n standby</code><span class="gmail-Apple-converted-space"> </span>flag in the above config. However, this also stops the scheduled scans from running if the disk is in standby.</p><p style="margin:0px;padding:0px;border:0px;font-family:inherit;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both">Is there a way to force the scheduled scans to start at the given times and wake the disks if needed, but stop the periodic polling form waking the disks ?</p></div></div></div>