voicegardens/bin/voicegardens-cron-hourly

9 lines
381 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
find /var/www/offline.voicegardens.org/voicegardens/archive/ -maxdepth 1 -type f -size 0 | xargs -I {} rm -v {} | tee -a /var/log/voicegardens.org.log
2020-02-19 23:09:14 +01:00
find /var/www/voicegardens.org/voicegardens/archive/ -maxdepth 1 -type f -size 0 | xargs -I {} rm -v {} | tee -a /var/log/voicegardens.org.log