简体   繁体   English

在没有Windows Task Scheduler的情况下安排任务

[英]Scheduling tasks without windows task scheduler

How can i schedule a task like running batch file without using windows task scheduler? 如何在不使用Windows Task Scheduler的情况下安排任务,例如运行批处理文件? Can I do it with the help of some java code? 我可以借助一些Java代码吗? All I can find is using windows pre-installed task scheduler, please help me regarding this. 我所能找到的只是使用Windows预装的任务计划程序,请为此提供帮助。

You could try CRON from CygWin. 您可以从CygWin尝试CRON。
Of course, this is still some kind of scheduler, but as long as you told you want to «run a batch file which does copying of files», installing CygWin and scheduling the task at CRON should work. 当然,这仍然是某种调度程序,但是只要您告诉您要“运行一个可以复制文件的批处理文件”,安装CygWin并在CRON安排任务就可以了。
Installation instructions here . 安装说明在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM