|
@@ -184,6 +184,13 @@ function postactiv_running_script {
|
184
|
184
|
echo " cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
185
|
185
|
echo ' scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
|
186
|
186
|
echo 'fi' >> /etc/cron.hourly/postactiv-daemons
|
|
187
|
+
|
|
188
|
+ echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
|
|
189
|
+ echo 'php scripts/delete_orphan_files.php' >> /etc/cron.hourly/postactiv-daemons
|
|
190
|
+ echo 'php scripts/clean_thumbnails.php' >> /etc/cron.hourly/postactiv-daemons
|
|
191
|
+ echo '# php scripts/cleanup_file_table.php' >> /etc/cron.hourly/postactiv-daemons
|
|
192
|
+ echo '# php scripts/upgrade.php' >> /etc/cron.hourly/postactiv-daemons
|
|
193
|
+
|
187
|
194
|
chmod +x /etc/cron.hourly/postactiv-daemons
|
188
|
195
|
}
|
189
|
196
|
|