@@ -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,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\§or=10\&start=600000 &
-sleep 3600
-rm nohup.out
+nohup php /home/wwwroot/default/boniu/data/get_stock_all_code_name_by_sina.php?exchange=sh\§or=10\&start=600000 &
+sleep 1s
+rm -f nohup.out
+sleep 2s