voicegardens/bin/voicegardens-cron-hourly

8 lines
345 B
Plaintext
Raw Normal View History

2020-02-19 22:27:34 +01:00
#!/bin/sh
2020-02-19 23:04:34 +01:00
echo "Spitting out todays date and time for the 0 filesize cron ..."
date
2020-02-19 22:32:09 +01:00
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