From 596f331a7d8354e185eb6aabf58795e60f4f4b87 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 14 Dec 2024 13:57:05 +0200 Subject: [PATCH] batch: revert changes (#15163) Co-authored-by: Wiktor Perskawiec --- pages/common/batch.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pages/common/batch.md b/pages/common/batch.md index cc14819ee..ddd10b66b 100644 --- a/pages/common/batch.md +++ b/pages/common/batch.md @@ -1,7 +1,18 @@ # batch -> This command is an alias of `at`. +> 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: . -- View documentation for the original command: +- Start the `atd` daemon: -`tldr at` +`systemctl start atd` + +- Execute commands from `stdin` (press `Ctrl + D` when done): + +`batch` + +- Execute a command from `stdin`: + +`echo "{{./make_db_backup.sh}}" | batch`