1

I have the following cronjob setup

@daily /root/trim.sh

/root/trim.sh

fstrim -av

but it just doesn't run. It does when run /root/trim.sh manually. It has chmod +x permissions. What is causing this?

Toodarday
  • 363
  • 1
  • 4
  • 16

1 Answers1

2

/sbin was missing /sbin/fstrim -av

Toodarday
  • 363
  • 1
  • 4
  • 16