在Windows上安排作业

编程入门 行业动态 更新时间:2024-10-27 06:31:35
本文介绍了在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上安排作业

本文发布于:2023-11-24 08:44:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1624515.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:作业   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!