Selaa lähdekoodia

Noninteractive php script

Bob Mottram 8 vuotta sitten
vanhempi
commit
4871fd282b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/freedombone-app-postactiv

+ 1
- 1
src/freedombone-app-postactiv Näytä tiedosto

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