-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Windows自动方式可以不使用git bash #274
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
Comments
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
还是批处理来的直接 |
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
批处理没办法实现全部功能所以使用了PowerShell,但还是可以存为bat直接运行的 |
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先创建fetch_github_hosts.bat文件并写入以下内容
然后使用使用管理员身份运行以下cmd命令添加到task schtasks,会在每天05:00运行fetch_github_hosts.bat文件,记得把path\to\fetch_github_hosts.bat修改为你的文件所在路径
然后如果要手动运行,使用管理员身份运行以下cmd命令
schtasks /run /tn FetchGithubHosts
如果要删除task schtasks,使用管理员身份运行以下cmd命令
schtasks /delete /tn FetchGithubHosts /f
The text was updated successfully, but these errors were encountered: