1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 04:15:27 +02:00

at, batch, wireplumber: reduce systemctl usage in common (#16019)

This commit is contained in:
Managor 2025-03-26 02:55:08 +02:00 committed by GitHub
parent 8a776c15c7
commit 581d4b8d35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 76 additions and 12 deletions

View file

@ -4,10 +4,6 @@
> Results will be sent to the users mail.
> More information: <https://manned.org/at>.
- Start the `atd` daemon:
`systemctl start atd`
- Create commands interactively and execute them in 5 minutes (press `<Ctrl d>` when done):
`at now + 5 minutes`

View file

@ -5,10 +5,6 @@
> 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`

View file

@ -4,10 +4,6 @@
> See also: `wpctl`, `pipewire`.
> More information: <https://pipewire.pages.freedesktop.org/wireplumber/>.
- Make WirePlumber start with the user session immediately (for systemd systems):
`systemctl --user --now enable wireplumber`
- Run WirePlumber, after `pipewire` is started (for non-systemd systems):
`wireplumber`

33
pages/linux/at.md Normal file
View file

@ -0,0 +1,33 @@
# at
> Execute commands once at a later time.
> Results will be sent to the users mail.
> More information: <https://manned.org/at>.
- Start the `atd` daemon:
`systemctl start atd`
- Create commands interactively and execute them in 5 minutes (press `<Ctrl d>` when done):
`at now + 5 minutes`
- Create commands interactively and execute them at a specific time:
`at {{hh:mm}}`
- Execute a command from `stdin` at 10:00 AM today:
`echo "{{command}}" | at 1000`
- Execute commands from a given file next Tuesday:
`at -f {{path/to/file}} 9:30 PM Tue`
- List all queued jobs for the current user (same as `atq`):
`at -l`
- View a specied job:
`at -c {{job_number}}`

18
pages/linux/batch.md Normal file
View file

@ -0,0 +1,18 @@
# 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`

View file

@ -0,0 +1,25 @@
# wireplumber
> A modular session/policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire’s API.
> See also: `wpctl`, `pipewire`.
> More information: <https://pipewire.pages.freedesktop.org/wireplumber/>.
- Make WirePlumber start with the user session immediately (for systemd systems):
`systemctl --user --now enable wireplumber`
- Run WirePlumber, after `pipewire` is started (for non-systemd systems):
`wireplumber`
- Specify a different context configuration file:
`wireplumber --config-file {{path/to/file}}`
- Display help:
`wireplumber --help`
- Display version:
`wireplumber --version`