-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是否能实现打卡时间随机化 #9
Comments
应该不是很难 |
我之前写了个本地的是可以实现的,但我觉得代码略微有点复杂。
然后刚刚看隔壁的代码,好像随机加一个sleep的时间就好了?
FY-Han ***@***.***> 于2021年10月27日周三 下午11:47写道:
… 问了作者,说不太好实现,正在研究
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALGS4XBAB35FANH2MFBRYILUJANIDANCNFSM5E7UKCSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Github Actions 超出一定额度是要计费的,https://docs.github.com/cn/billing/managing-billing-for-github-actions/about-billing-for-github-actions 。如果要加 sleep 的话,这个进程相当于一直开着,时间跨度太大的话,就会超出免费额度,对于平时要使用 Github Actions 做其他任务的同学来说不太友好。可以开一个新的分支,设置一个一小时左右的随机时长给只用 Github 来打卡的同学。(Github 单个任务的时长为 6 小时,https://docs.github.com/cn/actions/learn-github-actions/usage-limits-billing-and-administration) |
七天设置不同的定时时间,可以降低被发现的概率 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如8:00~17:00随机时间进行打卡,使打卡时间更自然
The text was updated successfully, but these errors were encountered: