Just add a trim
file to /etc/cron.weekly
directory.
And in trim
file put:
#!/bin/bash
/sbin/fstrim --all
After that, add executable flag to that file with chmod +x /etc/cron.weekly/trim
.
(Based on this forum post)
Just add a trim
file to /etc/cron.weekly
directory.
And in trim
file put:
#!/bin/bash
/sbin/fstrim --all
After that, add executable flag to that file with chmod +x /etc/cron.weekly/trim
.
(Based on this forum post)