1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:02:08 +02:00
tldr/pages/common/at.md
Lena d427f333b2
pages/*: add backticks around I/O streams (#10436)
* as suggested in #10428
* standard input  => `stdin`
* standard output => `stdout`
* standard error  => `stderr`

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 10:59:02 +05:30

447 B

at

Execute commands once at a later time. Service atd (or atrun) should be running for the actual executions. More information: https://manned.org/at.

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

at now + 5 minutes

  • Execute a command from stdin at 10:00 AM today:

echo "{{./make_db_backup.sh}}" | at 1000

  • Execute commands from a given file next Tuesday:

at -f {{path/to/file}} 9:30 PM Tue