-
WSL2 -
MinGW/Msys2 -
Cygwin
https://cygwin.com/install.html
setup-x86_64.exe -q -P cygrunsrv
Starting cygwin install, version 2.933
User has backup/restore rights
User has symlink creation right
Current Directory: Q:pkgs
root: D:cygwin64 system
Changing gid to Administrators
Selected local directory: Q:pkgs
net: Direct
Dropped selected mirror: https://mirrors.aliyun.com/cygwin/
Adding dropped mirrors to cache to warn again.
site: https://mirrors.aliyun.com/cygwin/
solving: 1 tasks, update: no, use test packages: no
solving: 1 tasks, update: no, use test packages: no
Augmented Transaction List:
0 install cygrunsrv 1.64-1
# 注册服务
cygrunsrv -I cron -p /usr/sbin/cron -a -n
# 启动服务
cygrunsrv -S cron
# 查看服务状态
cygrunsrv -Q cron
原文始发于微信公众号(生有可恋):windows 上使用 crontab
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论