#!/bin/sh cd /home/crontab_backup git add . git commit -m "crontab备份" git push -u origin master # 保存