chenbo 5 years ago
parent
commit
bb083ec264
2 changed files with 2 additions and 2 deletions
  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";
+$command = "cd /home/wwwroot/default/boniu;git pull;chmod -R 755 data";
 
 
 exec($command,$data);

+ 1 - 1
data/get_stock_all_code_name_list.sh

@@ -3,7 +3,7 @@
 cd /home/wwwroot/default/boniu/data
 while [ 1 ]
 do
-	nohup php get_stock_all_code_name_by_sina.php?exchange=sh\&sector=10\&start=0 &
+	nohup php get_stock_all_code_name_by_sina.php?exchange=sz\&sector=20\&start=0 &
 	sleep 3600
 	rm nohup.out
 	sleep 86400