Created
June 22, 2017 22:07
-
-
Save mehmetboraezer/d0e227dc51cf23afc7a4ff308e0f744a to your computer and use it in GitHub Desktop.
/etc/cron.daily/fstrim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
LOG=/var/log/fstrim/trim.log | |
echo "Starting trim $(date -R) " >> $LOG | |
fstrim -v -a >> $LOG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment