什么是Windows版本的cron? [英] What is the Windows version of cron?

查看:496
本文介绍了什么是Windows版本的cron?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

A Google搜索打开的软件,执行与cron相同的功能,但没有内置到Windows。

A Google search turned up software that performs the same functions as cron, but nothing built into Windows.

我运行的是Windows XP Professional,但对于任何版本的Windows的建议都可能对某人有帮助。

I'm running Windows XP Professional, but advice for any version of Windows would be potentially helpful to someone.

还有一种方法来调用此功能(基于答案称为任务计划程序)或者通过命令行?

Is there also a way to invoke this feature (which based on answers is called the Task Scheduler) programatically or via the command line?

推荐答案

对于原始问题,询问Windows XP(和Windows 7): Windows任务计划程序

For the original question, asking about Windows XP (and Windows 7): Windows Task Scheduler

对于命令行使用,您可以使用 AT命令

For command-line usage, you can schedule with the AT command.

对于较新的Microsoft操作系统版本Windows Server 2012 / Windows 8,请查看 schtasks 命令行实用程序。

如果使用PowerShell,则计划任务Windows PowerShell中的Cmdlet 用于脚本。

For newer Microsoft OS versions, Windows Server 2012 / Windows 8, look at the schtasks command line utility.
If using PowerShell, the Scheduled Tasks Cmdlets in Windows PowerShell are made for scripting.

这篇关于什么是Windows版本的cron?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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