cut_words_task.sh 321 B

1234567
  1. source /etc/profile
  2. echo $HOT_WORDS_ENV
  3. if [[ $HOT_WORDS_ENV == 'test' ]]; then
  4. cd /data2/hot-words-offline && /root/anaconda3/bin/python /data2/hot-words-offline/cut_words.py
  5. elif [[ $HOT_WORDS_ENV == 'pro' ]]; then
  6. cd /data/hot-words-offline && /root/anaconda3/bin/python /data/hot-words-offline/cut_words.py
  7. fi