gitpull.sh
#!/bin/bash
cd /home/wwwroot/default/mouse && git pull
cd /home/wwwroot/default/sheep && git pull
cd /home/wwwroot/default/lion && git pull
cd /home/wwwroot/default/proxy && git pull
cd /home/wwwroot/default/lion && ./sqlversion
crontab -e 設置定時任務
* * * * * /home/wwwroot/default/db_rc/gitpull.sh