LPIC 1 - 59 - 107.2 - Automate admin tasks by scheduling them (cron, crontab, at & systemd timers)

Jadi
Jadi
1.3 هزار بار بازدید - پارسال - In this section we will
In this section we will see how you can schedule your tasks to be run on specific intervals or at as one time timers. We will use cron (crontabs) and will have a look at the 'at' command first. When checking cron, we will see the user crontabs, systemwide cron & cron.daily, cron.weekly, cron.monthly files and configurations.

At the end the systemd methods are shown. We will use monotonic and oncalendar (realt-time) methods to schedule repeating jobs and will use systemd-run to schedule a one time job.

00:00 - why scheduling jobs & basics
03:45 - cron and crontab
12:00 - system wide cron
13:58 - hourly, daily, weekly, monthly cron directories
16:54 - schedule commands with the at command (at, atq, atrm)
20:22 - cron and at access control (cron.allow, at.deny)
22:18 - scheduling jobs using systemd timer
30:45 - systemd-run to schedule transient services

Full LPIC1 course: LPIC 1 (version 500) Course
Textbook: https://linux1st.com/1071-manage-user...
پارسال در تاریخ 1402/03/19 منتشر شده است.
1,310 بـار بازدید شده
... بیشتر