在Windows上安排作业 [英] Scheduling jobs on windows

查看:76
本文介绍了在Windows上安排作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows上调度简单批处理作业的最佳方法是什么?我当前的需要是每晚每晚转储一些SVN存储库,并将转储通过FTP传输到我们的外部FTP端,然后通过电子邮件向一个或多个人发送备份已完成/失败的消息.

What is the best way of 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.

这听起来像是我通常在unix脚本+​​ cron中所做的那种事情.在Windows上可以吗?也许使用Cygwin?

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计划任务.该区域可通过控制面板访问,并且可能需要管理权限.对于Windows,基本上是crontab.使用指定的用户以指定的间隔运行Windows批处理文件(或任何可执行文件).

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.

这篇关于在Windows上安排作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆