Run additional housekeeping scripts for postactiv
This commit is contained in:
parent
75dd7c5fd2
commit
eb132448bf
|
@ -184,6 +184,13 @@ function postactiv_running_script {
|
||||||
echo " cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /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 'fi' >> /etc/cron.hourly/postactiv-daemons
|
||||||
|
|
||||||
|
echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
||||||
|
echo 'php scripts/delete_orphan_files.php' >> /etc/cron.hourly/postactiv-daemons
|
||||||
|
echo 'php scripts/clean_thumbnails.php' >> /etc/cron.hourly/postactiv-daemons
|
||||||
|
echo '# php scripts/cleanup_file_table.php' >> /etc/cron.hourly/postactiv-daemons
|
||||||
|
echo '# php scripts/upgrade.php' >> /etc/cron.hourly/postactiv-daemons
|
||||||
|
|
||||||
chmod +x /etc/cron.hourly/postactiv-daemons
|
chmod +x /etc/cron.hourly/postactiv-daemons
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue