Skip to content

Commit e871806

Browse files
DaERichericonr
authored andcommitted
ssd.md: Sync fstrim cron configuration with upstream
Recommendations for cron scripts should reflect considerations from util-linux upstream (fstrim.timer). Commit util-linux/util-linux@a39461d
1 parent 7c27a2b commit e871806

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/ssd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To automate running TRIM, use cron or add the `discard` option to `/etc/fstab`.
2525

2626
## Periodic TRIM with cron
2727

28-
Add the following lines to `/etc/cron.daily/fstrim`:
28+
Add the following lines to `/etc/cron.weekly/fstrim`:
2929

3030
```
3131
#!/bin/sh
@@ -36,7 +36,7 @@ fstrim /
3636
Finally, make the script executable:
3737

3838
```
39-
# chmod u+x /etc/cron.daily/fstrim
39+
# chmod u+x /etc/cron.weekly/fstrim
4040
```
4141

4242
## Continuous TRIM with fstab discard

0 commit comments

Comments
 (0)