|
|
|
|
208
|
echo ' MY_EMAIL_ADDRESS=$ADMIN_USER@$HOSTNAME' >> /etc/cron.hourly/postactiv-daemons
|
208
|
echo ' MY_EMAIL_ADDRESS=$ADMIN_USER@$HOSTNAME' >> /etc/cron.hourly/postactiv-daemons
|
209
|
echo ' echo "Restarting postactiv daemons" | mail -s "postactiv daemons not found" $MY_EMAIL_ADDRESS' >> /etc/cron.hourly/postactiv-daemons
|
209
|
echo ' echo "Restarting postactiv daemons" | mail -s "postactiv daemons not found" $MY_EMAIL_ADDRESS' >> /etc/cron.hourly/postactiv-daemons
|
210
|
echo " cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
210
|
echo " cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
211
|
- echo ' #scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
|
|
|
|
|
211
|
+ echo ' scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
|
212
|
echo 'fi' >> /etc/cron.hourly/postactiv-daemons
|
212
|
echo 'fi' >> /etc/cron.hourly/postactiv-daemons
|
213
|
|
213
|
|
214
|
echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
214
|
echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
|
|
|
|
218
|
echo 'php scripts/delete_orphan_files.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
218
|
echo 'php scripts/delete_orphan_files.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
219
|
echo 'php scripts/clean_thumbnails.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
219
|
echo 'php scripts/clean_thumbnails.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
220
|
echo 'php scripts/clean_file_table.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
220
|
echo 'php scripts/clean_file_table.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
221
|
- echo '# php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
|
|
|
|
221
|
+ echo 'php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
222
|
|
222
|
|
223
|
chmod +x /etc/cron.hourly/postactiv-daemons
|
223
|
chmod +x /etc/cron.hourly/postactiv-daemons
|
224
|
}
|
224
|
}
|