wanggangtao 5 anni fa
parent
commit
9335fef506
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      task/task_get_history_day_k.sh
  2. 1 1
      task/task_get_history_index.php

+ 1 - 1
task/task_get_history_day_k.sh

@@ -4,7 +4,7 @@ cd /home/wwwroot/default/boniu/task
 echo '正在获取所有股票的历史日k数据...'
 nohup php ./task_get_history_day_k.php &
 
-sleep 86,400s
+sleep 86400s
 echo "完成!"
 rm -f nohup.out
 sleep 1s

+ 1 - 1
task/task_get_history_index.php

@@ -8,7 +8,7 @@
  */
 require('../init.php');
 
-$start_date=20201201;
+$start_date=20140101;
 $end_date=date("Ymd",time());
 $indexList=Index::getIndexList();//获取指数代码
 foreach ($indexList as $key=>$value){