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.
精彩评论