linux 命令和教程补充

This commit is contained in:
estomm
2021-12-24 11:16:28 +08:00
parent 40e916976b
commit b7c3653392
586 changed files with 46455 additions and 39 deletions

37
Linux/command/batch.md Normal file
View File

@@ -0,0 +1,37 @@
batch
===
在系统不繁忙的时候执行定时任务
## 补充说明
**batch命令** 用于在指定时间当系统不繁忙时执行任务用法与at相似。
### 语法
```shell
batch(选项)(参数)
```
### 选项
```shell
-f指定包含具体指令的任务文件
-q指定新任务的队列名称
-m任务执行完后向用户发送E-mail。
```
### 参数
日期时间:指定任务执行的日期时间。
### 实例
```shell
batch
at> echo 1234
at> <EOT>
job 5 at Sun Apr 28 08:49:00 2013
```