Linux Lite Forums

Full Version: Linux Lite 1.0.6 - Question about CRON trim weekly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all, I saw the directions on how to set up a "daily" cron TRIM.  But how do set up a weekly? I have always used the discard entry with noatime, but I see it's not so good to use. I have tried LL 3.0 while it's awesome, my netbook seems a bit slower. I find LL 1.0.6 is the best fit for it. I Have tried so many distro's of Linux but 1.0.6 feels so awesome Smile Any help would be appreciated on the weekly trim Smile Thanks all and awesome job on LL 3.0
I just found this: https://chmatse.github.io/SSDcronTRIM/
"Intelligent cron job script which automatically decides how often to trim one or more SSD partitions"

This should also be useful to some members here ^|^
Nice find, I'll check this out.

Sent from my phone using Tapatalk

Welcome ^|^
I went ahead and followed the LL instructions on how to enable trim daily. I'm running LL 1.0.6  I have only 1 SSD in my netbook. 360GB Corsair Force GS and it shows trim does work on it, I used the fstrim command. Now I wanted to really test it by running a small script which I found here:
http://lightrush.ndoytchev.com/random-1/...andworking

I'm at the part Download the script.

It runs but it keeps saying /dev/sdx: no such file or directory.  Maybe I'm doing something wrong? :/




(07-07-2016, 09:44 PM)T1125P link Wrote: [ -> ]It runs but it keeps saying /dev/sdx: no such file or directory.  Maybe I'm doing something wrong? :/

Hi,
do not use /sdx... x is just an example
You need to use the correct drive..You need to put the drive you have LL installed on.
for example, on 1 PC I have only have 1 drive, and that is /sda
on another multi boot, LL is on /sdc
GL

Thanks so much you are right it's /dev/sda  I ran the test and now it works great. Smile