14
0
voicegardens/bin/voicegardens-cron-hourly
2020-02-19 23:09:14 +01:00

8 lines
387 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/voicegardens/archive/ -maxdepth 1 -type f -size 0 | xargs -I {} rm -v {} | tee -a /var/log/voicegardens.org.log
find /var/www/voicegardens.org/voicegardens/archive/ -maxdepth 1 -type f -size 0 | xargs -I {} rm -v {} | tee -a /var/log/voicegardens.org.log