Skip to content

BHMulberry/Clock-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

HNU官微定时打卡程序

按正常人的标准打卡,使用后可以上官微自行确认。

下载到本地 git clone https://github.com/SheyQ/Clock-in.git

打开文件 cd Clock-in

编辑config.json

{
    "Time": "00:30:00",         // 打卡的时间
    "Code": "2016260103xx",     // 学号
    "Password": "xxxxxx",       // 门户密码
    "RealProvince": "xx省",     // 省
    "RealCity": "xx市",         // 市
    "RealCounty": "xx区",       // 区
    "RealAddress": "xx街道404", // 详细地址
    "RandomTimeFluctuation":"true"
    // 随机时间波动,会让每一天的打卡时间与设置的时间产生±0.5h的波动
}

测试运行: go run clock.go test

后台运行: nohup go run clock.go &

About

HNU官微定时打卡程序

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages