15 lines
783 B
Bash
Executable File
15 lines
783 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Spitting out todays date and time for the fixed archive copying cron ..."
|
|
date
|
|
|
|
echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..."
|
|
rm -rf /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/*
|
|
cp /var/www/doesitsparkjoy.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/
|
|
chown -R voicegardens:voicegardens /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/
|
|
|
|
echo "Copying over the voicegardens.org fixed archive ..."
|
|
rm -rf /var/www/voicegardens.org/voicegardens/archive/*
|
|
cp /var/www/voicegardens.org/voicegardens/fixed-archive/* /var/www/voicegardens.org/voicegardens/archive/
|
|
chown -R voicegardens:voicegardens /var/www/voicegardens.org/voicegardens/archive/
|