voicegardens/bin/voicegardens-cron-hourly

8 lines
345 B
Bash
Executable File

#!/bin/sh
echo "Spitting out todays date and time for the 0 filesize cron ..."
date
find /var/www/doesitsparkjoy.voicegardens.org/ -maxdepth 1 -type f -size 0 | xargs -I {} rm -v {} | tee -a /var/log/voicegardens.org.log
find /var/www/voicegardens.org/ -maxdepth 1 -type f -size 0 | xargs -I {} rm -v {} | tee -a /var/log/voicegardens.org.log