tucansam Posted July 14, 2017 Share Posted July 14, 2017 I am running two ssd's for plex and docker, they are NOT cache disks, I am not using a cache disk. I tried the Dynamix trim plugin, but when I go to the page, it lands me at the parity check page (aka the scheduler page). I assume trim is not listed because my ssd's are not cache disks. Its been a long time since I configured a cron job in unraid (5.x), but I remember it being in the /boot somewhere-or-other. There are a few posts on reddit about it, but they're all 3-5 years old. So, to make sure I am doing things right under 6.x, where can I put in a script and cron job to run trim on both ssd's daily? Thanks. Link to comment
Squid Posted July 14, 2017 Share Posted July 14, 2017 I seem to recall something about that, with the trim settings not appearing if you don't have an SSD cache drive. Why not assign one of them as a cache drive? Makes life a hair easier (and you don't need to use it for any shares) But to actually answer your question, you want the user scripts plugin. Your script will be fstrim -a Link to comment
tucansam Posted July 14, 2017 Author Share Posted July 14, 2017 Thanks Squid, I have those scripts. Just not sure I remember how to put it in cron. Link to comment
Squid Posted July 14, 2017 Share Posted July 14, 2017 1 minute ago, tucansam said: Thanks Squid, I have those scripts. Just not sure I remember how to put it in cron. User scripts offers Hourly, Daily, Weekly, Monthly built in, or a custom cron entry. Link to comment
tucansam Posted July 14, 2017 Author Share Posted July 14, 2017 This freakin product and system gets better and better every time I turn around. Thanks. Link to comment
kizer Posted July 14, 2017 Share Posted July 14, 2017 @tucansam Best Cron site I sware http://corntab.com/ Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.