Browse Source

update 小年糕rule

zhangyong 1 year ago
parent
commit
40adc2abae
1 changed files with 4 additions and 4 deletions
  1. 4 4
      main/process_mq.sh

+ 4 - 4
main/process_mq.sh

@@ -1,9 +1,9 @@
 #! /bin/bash -x
 
-crawler="xngrule"  # 哪款爬虫
-path="xiaoniangaoplus"     # 爬虫路径
-log_type="recommend" # 爬虫策略
-env="prod"      # 环境
+crawler=$1  # 哪款爬虫
+path=$2     # 爬虫路径
+log_type=$3 # 爬虫策略
+env=$4      # 环境
 
 if [ ${env} = "dev" ];then
   piaoquan_crawler_dir=/Users/tzld/Desktop/piaoquan_crawler/