windows的计划任务实在太弱了,想每个小时执行一条带参数的命令都实现不了。 还好我装了cygwin,需要启一个服务 $ cygrunsrv -I cron -p /usr/sbin/cron -a -D $ cygrunsrv -S cron 然后就可以crontab -e添加任务了