@@ -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
@@ -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){