#!/bin/sh cd /home/wwwroot/default/boniu/task echo '正在获取所有股票的历史指数数据...' nohup php ./task_get_history_index.php & sleep 1s echo "完成!"