get_stock_all_code_name_list.sh 226 B

12345678910111213
  1. #!/bin/sh
  2. cd /home/wwwroot/default/boniu/data
  3. #上证主板
  4. for ((i=0;i<50;i++)); do
  5. let start=600000+$i*200
  6. nohup php ./get_stock_all_code_name_by_sina.php sh 10 $start &
  7. sleep 1s
  8. done
  9. rm -f nohup.out
  10. sleep 1s