chenbo 5 年之前
父节点
当前提交
8aba4764a5
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      data/get_stock_all_code_name_list.sh

+ 4 - 4
data/get_stock_all_code_name_list.sh

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