HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

batch — Execute commands at a later time when the system load levels permit. Results will be sent to the use

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbatchcommandsexecuteclilatertimewhen

Problem

How to use the batch command: Execute commands at a later time when the system load levels permit. Results will be sent to the user's mail. See also: at, atq, atrm, mail. More information: <https://manned.org/batch>.

Solution

batch — Execute commands at a later time when the system load levels permit. Results will be sent to the user's mail. See also: at, atq, atrm, mail. More information: <https://manned.org/batch>.

Execute commands from stdin (press <Ctrl d> when done):
batch


Execute a command from stdin:
echo "{{./make_db_backup.sh}}" | batch

Code Snippets

Execute commands from `stdin` (press `<Ctrl d>` when done)

batch

Execute a command from `stdin`

echo "{{./make_db_backup.sh}}" | batch

Context

tldr-pages: common/batch

Revisions (0)

No revisions yet.