Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
38 lines (25 loc) · 628 Bytes

File metadata and controls

38 lines (25 loc) · 628 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

batch

在系统不繁忙的时候执行定时任务

补充说明

batch命令 用于在指定时间,当系统不繁忙时执行任务,用法与at相似。

语法

batch(选项)(参数)

选项

-f:指定包含具体指令的任务文件;
-q:指定新任务的队列名称;
-m:任务执行完后向用户发送E-mail。

参数

日期时间:指定任务执行的日期时间。

实例

batch 
at> echo 1234
at> <EOT>
job 5 at Sun Apr 28 08:49:00 2013
Morty Proxy This is a proxified and sanitized view of the page, visit original site.