chenbo 5 년 전
부모
커밋
8c5f5a3a06
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      commands/git/update.php
  2. 1 1
      data/get_stock_all_code_name_list.sh

+ 1 - 1
commands/git/update.php

@@ -9,7 +9,7 @@
 
 
 
-$command = "cd /home/wwwroot/default/boniu;git pull;chmod -R 755 data";
+$command = "cd /home/wwwroot/default/boniu;git pull;sleep 3s;chmod -R 755 data";
 
 
 exec($command,$data);

+ 1 - 1
data/get_stock_all_code_name_list.sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 
 cd /home/wwwroot/default/boniu/data
-nohup php ./get_stock_all_code_name_by_sina.php?exchange=sh\&sector=10\&start=600000 &
+nohup php /home/wwwroot/default/boniu/data/get_stock_all_code_name_by_sina.php?exchange=sh\&sector=10\&start=600000 &
 sleep 1s
 rm -f  nohup.out
 sleep 1s