You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 在root目录下创建run.sh脚本
- vim run.sh
- # 文件内容如下
- #!/bin/sh
- cd /home/crontab_backup
- git add .
- git commit -m "crontab备份"
- git push
- # 保存
|