浏览代码

Noninteractive php script

Bob Mottram 8 年前
父节点
当前提交
4871fd282b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-app-postactiv

+ 1
- 1
src/freedombone-app-postactiv 查看文件

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