From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Reccuring system jobs using cron

Reccuring system jobs using cron - Linux Tutorial

From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Start my 1-month free trial

Reccuring system jobs using cron

- [Narrator] Systems services are processes started by the OS and they're managed by the systemctl command. With systemctl, we can start, stop and restart services. Let's look at all unit files in a terminal, type in systemctl list-unit-files -at service and hit Enter. This will show which services are enabled and disabled. Let's pick the atd.service since it's enabled. Let's stop the atd.service using systemctl. You'll need to elevate your privileges using sudo. Press Q to quit and then type in sudo systemctl stop atd and hit Enter. Type in your password and hit Enter again. Now let's check the status of the atd service. Type in systemctl status atd and hit Enter. We can see that the atd service is enabled but it's not currently running. We can start the atd service back up using the systemctl command. We'll need to elevate privileges using sudo systemctl start atd and hit Enter. Then verify with…

Contents