Browse Source

Noninteractive php script

Bob Mottram 8 years ago
parent
commit
4871fd282b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-app-postactiv

+ 1
- 1
src/freedombone-app-postactiv View File

187
 
187
 
188
     echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
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
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
190
+    echo 'php scripts/clean_thumbnails.php -y' >> /etc/cron.hourly/postactiv-daemons
191
     echo '# php scripts/cleanup_file_table.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
192
     echo '# php scripts/upgrade.php' >> /etc/cron.hourly/postactiv-daemons
193
 
193