1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 11:02:08 +02:00
tldr/pages/common/batch.md
Managor 596f331a7d
batch: revert changes (#15163)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2024-12-14 12:57:05 +01:00

410 B

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.

  • Start the atd daemon:

systemctl start atd

  • Execute commands from stdin (press Ctrl + D when done):

batch

  • Execute a command from stdin:

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