shell任务执行脚本
# mian目录
currentDir=$(cd $(dirname $0); pwd)
echo "currentDir = ${currentDir}"
source /etc/profile
source ~/.bashrc
conda activate milvus_env
python --version
conda deactivate
python --version
# mian目录
currentDir=$(cd $(dirname $0); pwd)
echo "currentDir = ${currentDir}"
source /etc/profile
source ~/.bashrc
conda activate milvus_env
python --version
conda deactivate
python --version