# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/linux/ming-ling/batch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
