diff --git a/clearcaches b/clearcaches new file mode 100644 index 0000000..a9e0530 --- /dev/null +++ b/clearcaches @@ -0,0 +1,5 @@ +#!/usr/bin/bash + +logname="locallogs" + +echo "Clearing caches at $(date +%y-%m-%d/%H:%M:%S)" >> /usr/local/$logname && sync && sysctl vm.drop_caches=1 \ No newline at end of file