This is an old revision of the document!
The following cron jobs are running in Nexcess SiteWorx to control the amount of storage space used for our websites:
if [`du -sh /chroot/home/picnicti | awk '{ print $1 }' | cut -d'G' -f1` -gt 40]; then echo "GB used: `du -sh /chroot/home/picnicti | awk '{ print $1 }' | cut -d'G' -f1`" | mail -s "Storage space used" andre@picnictime.com; fi
rm -rf /chroot/home/picnicti/picnictime.com/html/media/catalog/product/cache/2/*