#!/bin/bash while true;do dd=$( date -u ) echo $dd,"start pull wmsinventoryapiwms6.2" cd /e/project/wmsinventoryapiwms6.2 git pull echo $dd,"start pull wmsadminwms6.2" cd /e/project/wmsadminwms6.2 git pull echo $dd,"start pull wmsadminapiwms6.2" cd /e/project/wmsadminapiwms6.2 git pull sleep 1800 done
在git push 中 使用sh pull.sh 命令执行文件,即可实现;
时间: 2024-11-05 12:30:36