Setting Up Systemd Timer Files To Initiate Shell Scripts in Linux
In this video we will go over creating some basic systemd timers to run shell scripts.
To get example files for this video, you can find the code on my github:
https://github.com/jdfthetech/PenguinPropaganda_SystemdTimers
An excellent overview of the differences between oneshot and simple services:
https://trstringer.com/simple-vs-oneshot-systemd-service/
The archwiki on systemd timers:
https://wiki.archlinux.org/index.php/Systemd/Timers
The Debian manpage on systemd:
https://manpages.debian.org/buster/systemd/systemd.service.5.en.html
Some Systemctl commands:
systemctl start .service or .timer file will turn your item on.
systemctl stop .service or .timer file will turn your item off.
systemctl enable .service or .timer file will set a symlink to run the service permanently.
systemctl disable .service or .timer file will remove the symlink for the service.
systemctl status .service or .timer file will give you detailed status information.
systemctl list-timers will give you a list of all of the system timers running.
Video Notes: I'm working on making video quality a bit better this go around so I'm using some different sound and video settings. This video took quite some time to boil the subject down to the basics. Feel free to let me know if I missed something in the comments.
---------
Видео Setting Up Systemd Timer Files To Initiate Shell Scripts in Linux канала Penguin Propaganda
To get example files for this video, you can find the code on my github:
https://github.com/jdfthetech/PenguinPropaganda_SystemdTimers
An excellent overview of the differences between oneshot and simple services:
https://trstringer.com/simple-vs-oneshot-systemd-service/
The archwiki on systemd timers:
https://wiki.archlinux.org/index.php/Systemd/Timers
The Debian manpage on systemd:
https://manpages.debian.org/buster/systemd/systemd.service.5.en.html
Some Systemctl commands:
systemctl start .service or .timer file will turn your item on.
systemctl stop .service or .timer file will turn your item off.
systemctl enable .service or .timer file will set a symlink to run the service permanently.
systemctl disable .service or .timer file will remove the symlink for the service.
systemctl status .service or .timer file will give you detailed status information.
systemctl list-timers will give you a list of all of the system timers running.
Video Notes: I'm working on making video quality a bit better this go around so I'm using some different sound and video settings. This video took quite some time to boil the subject down to the basics. Feel free to let me know if I missed something in the comments.
---------
Видео Setting Up Systemd Timer Files To Initiate Shell Scripts in Linux канала Penguin Propaganda
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Comptia A+ Acronyms Letters F and GComptia A+ Acronyms Letters T and UComptia A+ Acronyms Letters B and CComptia A+ Acronyms Letter SComptia A+ Acronyms Letters H and IComptia A+ Acronyms Letter Q Through RComptia A+ Acronyms Letter DComptia A+ Acronyms Letter AComptia A+ Acronyms Letters J Through MComptia A+ Acronyms Letter P (continued)Comptia A+ Acronyms Letters N Through P (TBC)Comptia A+ Acronyms Letter EComptia A+ Acronyms Letters V Through ZBaldur's Gate 3 Evil Playthrough Pt 6Baldur's Gate 3 Evil Playthrough Pt 5Baldur's Gate 3 Evil Playthrough Pt 4Baldur's Gate 3 Evil Playthrough Pt 3Baldur's Gate 3 Evil Playthrough Pt 2An Inspirational Punch in Baldur's Gate 3Baldur's Gate 3 Evil Playthrough Pt 1Timber The Squirrel's Fatal Mistake #Shorts