[SOLVED] Weekly cron fstrim job
Hello, everybody.
So I want to setup a weekly cron (using cronie) job to trim my nvme drive. I copypasted an fstrim script from Ubuntu (allegedly) to /etc/cron.weekly
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true
and haven't done anything else. Should that suffice? (I do realize that I need to start/enable a service)