Luke Murphy
5 years ago
2 changed files with 9 additions and 3 deletions
@ -1,3 +1,10 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
|
||||
echo "HI" |
echo "Spitting out todays date and time ..." |
||||
|
date |
||||
|
|
||||
|
echo "Deleting doesitsparkjoy.voicegardens.org archive ..." |
||||
|
rm -rf /var/www/doesitsparkjoy.voicegardens.org/archives/* |
||||
|
|
||||
|
echo "Deleting voicegardens.org archive ..." |
||||
|
rm -rf /var/www/voicegardens.org/archives/* |
||||
|
@ -1,5 +1,4 @@ |
|||||
SHELL=/bin/bash |
SHELL=/bin/bash |
||||
|
|
||||
# every morning at 09:00, clear the archives |
# every morning at 09:00, clear the archives |
||||
0 9 * * * /var/www/doesitsparkjoy.voicegardens.org/bin/clear-archives | tee -a /var/log/doesitsparkjoy.voicegardens.org.log |
0 9 * * * /var/www/doesitsparkjoy.voicegardens.org/bin/clear-archives | tee -a /var/log/voicegardens.org.log |
||||
0 9 * * * /var/www/voicegardens.org/bin/clear-archives | tee -a /var/log/voicegardens.org.log |
|
||||
|
Loading…
Reference in new issue