瀏覽代碼

Create task_get_day_k_index.sh

wanggangtao 5 年之前
父節點
當前提交
86de958a7a
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      task/task_get_day_k_index.sh

+ 10 - 0
task/task_get_day_k_index.sh

@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cd /home/wwwroot/default/boniu/task
+echo '正在获取所有股票代码和名称...'
+nohup php ./task_get_day_k_index.php &
+sleep 1s
+echo "完成!"
+rm -f nohup.out
+sleep 86,400s
+