开发者

Scheduling jobs on windows

开发者 https://www.devze.com 2023-01-15 09:34 出处:网络
What is the best way 开发者_如何学JAVAof scheduling simple batch jobs on windows?My current need is to dump some SVN repositories each night and FTP the dumps to our external FTP side and then e-mail

What is the best way 开发者_如何学JAVAof scheduling simple batch jobs on windows? My current need is to dump some SVN repositories each night and FTP the dumps to our external FTP side and then e-mail one or more people that the backup has completed/failed.

This sounds like the sort of thing I would usually do in a unix script + cron. Is that possible on windows? Perhaps using Cygwin?


Windows Scheduled Tasks. This area is available through the control panel and may require administrative rights. It's basically crontab for Windows. Run a Windows batch file (or any executable) at a specified interval using a specified user.

0

精彩评论

暂无评论...
验证码 换一张
取 消