Run postactiv daemons
This commit is contained in:
parent
1269193713
commit
38474b8948
|
@ -208,7 +208,7 @@ function postactiv_running_script {
|
|||
echo ' MY_EMAIL_ADDRESS=$ADMIN_USER@$HOSTNAME' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo ' echo "Restarting postactiv daemons" | mail -s "postactiv daemons not found" $MY_EMAIL_ADDRESS' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo " cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
||||
echo ' #scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo ' scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo 'fi' >> /etc/cron.hourly/postactiv-daemons
|
||||
|
||||
echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
||||
|
@ -218,7 +218,7 @@ function postactiv_running_script {
|
|||
echo 'php scripts/delete_orphan_files.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo 'php scripts/clean_thumbnails.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo 'php scripts/clean_file_table.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo '# php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
||||
echo 'php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
|
||||
|
||||
chmod +x /etc/cron.hourly/postactiv-daemons
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue