Giter Site home page Giter Site logo

autohealthsubmit's Introduction

AutoHealthSubmit

Automatic submit daily health data

如何使用

如果你仅在打卡失败时才要邮件通知看这里

如果你不论打卡是否失败都要邮件通知,看下文

配置(点击展开)
  1. 首先你要有个开通邮件服务的邮箱来发送邮件
邮件服务开通流程

开通邮件服务 授权

  1. 点击右上角的Fork复制一份你的副本 Fork
  2. 然后在Settings->Secrets里面添加你的账号密码和邮箱信息

在 New Secret 的 Name 填下面大写的变量名称,不能变

  • USERID -- 学号
  • USERPASS -- 密码
  • MAIL_USERNAME -- 用来发送邮件的邮箱
  • MAIL_PASSWORD -- 邮件服务的授权码(不是登录密码)
  • MAIL_RESULT -- 用来接收打卡情况的邮箱,用,分隔多个邮箱 操作流程
  1. Action,里面会提示你Action是关闭(Disabled)的,你要Enable 开启Action 开启Action2
手动运行

这个脚本每天7:15自动触发

点击右上角的Star测试运行,运行一次之后要UnStar再Star才会再运行 运行

Action看运行状态 运行状态

脚本失效后如何更新
  1. 首先点击compare 比较
  2. 然后选择仓库和分支,左边是你的右边是我的 选择分支 如果你切换了默认分支为main,你要在左右两边都选main
  3. Create pull request两次 创建pr 创建pr2
  4. Merge pull request merge
如何停止自动打卡

Settings->Action里面选择Disable Action 停止打卡

参考文献

https://github.com/Saujyun/AutoAction

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.