Auto Self Report

Usage

Crontab

$ 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

GitHub Action

After forking, add secrets at your own repository's Settings-Secrets

  • SHU_USERNAME: 一卡通账号
  • SHU_PASSWORD: 一卡通密码
  • EMAIL: 用于接收通知的邮箱

⚠️ NOTE: according to the conversation in the GitHub Community, you should copy the contents of the 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.