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