GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — linux-command/command/batch.md at master · javamickey/linux-command

Expand file tree

/

batch.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
38 lines (25 loc) · 624 Bytes
/

batch.md

Copy path

File metadata and controls

38 lines (25 loc) · 624 Bytes
Raw
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
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.