浏览代码

Run postactiv daemons

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

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

208
     echo '    MY_EMAIL_ADDRESS=$ADMIN_USER@$HOSTNAME' >> /etc/cron.hourly/postactiv-daemons
208
     echo '    MY_EMAIL_ADDRESS=$ADMIN_USER@$HOSTNAME' >> /etc/cron.hourly/postactiv-daemons
209
     echo '    echo "Restarting postactiv daemons" | mail -s "postactiv daemons not found" $MY_EMAIL_ADDRESS' >> /etc/cron.hourly/postactiv-daemons
209
     echo '    echo "Restarting postactiv daemons" | mail -s "postactiv daemons not found" $MY_EMAIL_ADDRESS' >> /etc/cron.hourly/postactiv-daemons
210
     echo "    cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
210
     echo "    cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
211
-    echo '    #scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
211
+    echo '    scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
212
     echo 'fi' >> /etc/cron.hourly/postactiv-daemons
212
     echo 'fi' >> /etc/cron.hourly/postactiv-daemons
213
 
213
 
214
     echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
214
     echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
218
     echo 'php scripts/delete_orphan_files.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
218
     echo 'php scripts/delete_orphan_files.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
219
     echo 'php scripts/clean_thumbnails.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
219
     echo 'php scripts/clean_thumbnails.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
220
     echo 'php scripts/clean_file_table.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
220
     echo 'php scripts/clean_file_table.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
221
-    echo '# php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
221
+    echo 'php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
222
 
222
 
223
     chmod +x /etc/cron.hourly/postactiv-daemons
223
     chmod +x /etc/cron.hourly/postactiv-daemons
224
 }
224
 }