$ crontab -e
# Auto Self Report
30 6 * * * curl -L -o /tmp/report https://github.com/mzz2017/auto-selfreport/releases/latest/download/auto-selfreport_linux_amd64 && chmod +x /tmp/report && /tmp/report -u your-username -p your-password -e your-email
After forking, add secrets at your own repository's Settings-Secrets
SHU_USERNAME
: 一卡通账号SHU_PASSWORD
: 一卡通密码EMAIL
: 用于接收通知的邮箱
report.yml
, delete the file, and create a new file with the same name and contents as the original report.yml
, and then job will run at 6:30 a.m. every day.