from /etc/daily: # Additional junk directory cleanup would go like this: #if [ -d /scratch -a ! -L /scratch ]; then # cd /scratch && { # find . ! -name . -atime +1 -execdir rm -f -- {} \; # find . ! -name . -type d -mtime +1 -execdir rmdir -- {} \; \ # >/dev/null 2>&1; } #fi
is this to suggest that the best thing to do is edit /etc/daily and wedge in the directories i need cleaned up? i'm only asking because my first thought of course would be to put this code in /etc/daily.local to ease merging in any diffs that future upgrades might provide. perhaps there're reasons i can't suss right now why doing this daily.local might be sub-optimal. appreciate any input.