Explorar o código

添加延迟推送通知

lk %!s(int64=5) %!d(string=hai) anos
pai
achega
c0065ebc3a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      shell/proginn-script-up.sh

+ 1 - 0
shell/proginn-script-up.sh

@@ -53,5 +53,6 @@ service cron restart
 for (( i = 0; i < 5; i++ )); do
     su -c "QUEUE=highest,high,default,low,lowest COUNT=1 nohup php /code/web/bin/resque.php &" -s /bin/bash - www-data
 done
+INTERVAL=5 nohup php /code/web/bin/resque-scheduler.php &
 php /code/web/bin/queue_check.php &
 tail /dev/null -f