Add specificity to cron date and times

This commit is contained in:
Luke Murphy 2020-02-19 23:04:34 +01:00
parent 84ef8aa9fc
commit f336032e2d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
echo "Spitting out todays date and time ..."
echo "Spitting out todays date and time for the archive deletion cron ..."
date
echo "Deleting doesitsparkjoy.voicegardens.org archive ..."

View File

@ -1,6 +1,6 @@
#!/bin/bash
echo "Spitting out todays date and time ..."
echo "Spitting out todays date and time for the fixed archive copying cron ..."
date
echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..."

View File

@ -1,4 +1,7 @@
#!/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