notes/scripts/fstrim_notify.sh
2023-03-05 15:46:34 -08:00

7 lines
176 B
Bash
Executable file

#!/usr/bin/env bash
# simple cron script to notify to possibly run trim script
LAST_UPDATE=$(cat "$HOME"/.fsdate)
notify-send "fstrim alert!, last fstrim on:
${LAST_UPDATE}"