^ Thank you
Here it is:
Code:
# /usr/lib/systemd/system/fstrim.timer
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true
[Install]
WantedBy=multi-user.target
Enable it with:
Code:
# systemctl enable fstrim.timer
You will need
fstrim (obviously):
Code:
# yum install fstrim
The .timer unit may be supplied with the package so check before making a new one.