Scheduled Scrubs enabled but not starting?

Hey.

I have setted up auto scrubs on all of my datasets to be performed once a week. I’ve been running this config since I have my TN setup for almost 2 years now.

I just noticed that despite my Scrubs are set to weekly, the last scrub on all of my datasets has been back in Nov - a month ago. I just re-checked the schedule and it hasn’t changed (see screenshot).

I am attaching screenshot of the dashboard that shows the latest scrub date:

On the screenshot the running scrub is the one that I’ve just initiated.

What went wrong? Could this be just a bug?

Edit: The system has been running 24/7 - it hasn’t being shut down during/or before the scan time or anything like that.

Check the Threshold Days property of each scrub task. The default is 35 days. If you want weekly scrubs you need to lower the Threshold Days.

Once you get sorted, installing the @joeschmuck monitoring and reporting script is very useful.
https://forums.truenas.com/t/multi-report/1302

1 Like

Thanks! I was totally not aware what this parameter was doing.

Thanks for the suggestion, but the #1 warning I usually get from the forums and TN itself is to NOT use custom scripts unless I know what I’m doing. At this point setting the threshold to 6 days is enough for me to run scrubs every week, and this is all I need.

Goes without saying, but I see zero reasons for that script to not be implemented in vanilla TN. I guess I’m not the first bright mind to propose this, so why isn’t iX putting it?