wangkun 2 years ago
parent
commit
a94f49f953
1 changed files with 5 additions and 0 deletions
  1. 5 0
      shipinhao.sh

+ 5 - 0
shipinhao.sh

@@ -1,5 +1,10 @@
 #!/bin/bash
 echo "开始"
+
+echo "$(date "+%Y-%m-%d %H:%M:%S") 更新环境变量..."
+cd ~ && source .base_profile
+echo "$(date "+%Y-%m-%d %H:%M:%S") 更新环境变量完成!"
+
 echo "$(date "+%Y-%m-%d %H:%M:%S") 正在杀进程..."
 # shellcheck disable=SC2009
 # ps aux | grep run_shipinhao