liqian 2 anos atrás
pai
commit
1650c1525e
2 arquivos alterados com 4 adições e 4 exclusões
  1. 2 2
      cut_words_task.sh
  2. 2 2
      update_common_words_task.sh

+ 2 - 2
cut_words_task.sh

@@ -1,7 +1,7 @@
 source /etc/profile
 echo $HOT_WORDS_ENV
 if [[ $HOT_WORDS_ENV == 'test' ]]; then
-    cd /data2/hot-words && /root/anaconda3/bin/python /data2/hot-words/cut_words.py
+    cd /data2/hot-words-offline && /root/anaconda3/bin/python /data2/hot-words-offline/cut_words.py
 elif [[ $HOT_WORDS_ENV == 'pro' ]]; then
-    cd /data/hot-words && /root/anaconda3/bin/python /data2/hot-words/cut_words.py
+    cd /data/hot-words-offline && /root/anaconda3/bin/python /data/hot-words-offline/cut_words.py
 fi

+ 2 - 2
update_common_words_task.sh

@@ -1,7 +1,7 @@
 source /etc/profile
 echo $HOT_WORDS_ENV
 if [[ $HOT_WORDS_ENV == 'test' ]]; then
-    cd /data2/hot-words && /root/anaconda3/bin/python /data2/hot-words/update_common_words.py '微信指数自动化搜索-每日关键词' 1
+    cd /data2/hot-words-offline && /root/anaconda3/bin/python /data2/hot-words-offline/update_common_words.py '微信指数自动化搜索-每日关键词' 1
 elif [[ $HOT_WORDS_ENV == 'pro' ]]; then
-    cd /data/hot-words && /root/anaconda3/bin/python /data2/hot-words/update_common_words.py '微信指数自动化搜索-每日关键词' 1
+    cd /data/hot-words-offline && /root/anaconda3/bin/python /data/hot-words-offline/update_common_words.py '微信指数自动化搜索-每日关键词' 1
 fi