|
@@ -8,7 +8,7 @@ env=$4 # 爬虫运行环境,正式环境: prod / 测试环境: dev
|
|
|
if [ ${env} = "--env=prod" ];then
|
|
|
piaoquan_crawler_dir=/Users/piaoquan/Desktop/piaoquan_crawler/
|
|
|
profile_path=/etc/profile
|
|
|
- python=python3.10
|
|
|
+ python=python
|
|
|
node_path=/usr/local/bin/node
|
|
|
nohup_log_path=${piaoquan_crawler_dir}shipinhao/logs/$(date +%Y-%m-%d)-run-shell.log
|
|
|
elif [ ${env} = "--env=dev" ];then
|