From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Manage reccuring user jobs with cron
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Manage reccuring user jobs with cron
- [Instructor] At jobs are one-time jobs that run at a specific time. Often we want to create recurring jobs that run every hour, day, week, or month. In order to do this we'll use the cron service. A cron job is stored in a cron table or a crontab. There are two types of crontabs, one for users and one for the system. Let's talk about user crontabs. User crontabs are specific to each user so every user has one. They can be managed by a normal user. There's no need to elevate privileges for a user to manage their own cron jobs. They're stored in /var/spool/cron/<the username>. The other type of crontab is the system crontab. System cron jobs are system-wide so they run by their OS, not users. Being that they're system-wide, the super user has to manage them. System cron jobs are stored in /etc/cron.d. No matter whether you're setting a user cron job or the system-wide cron job, the format is the same. The first…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Understand the Linux boot process2m
-
(Locked)
Boot into the emergency target5m 54s
-
(Locked)
Introduction to systemd services2m 32s
-
(Locked)
Get systemd service status3m 56s
-
(Locked)
Manage systemd services2m 33s
-
(Locked)
Make systemd services persistent1m 40s
-
(Locked)
Configure networking4m 41s
-
(Locked)
Configure a system to use network time protocol4m 9s
-
(Locked)
Manage one-time jobs with AT4m 4s
-
(Locked)
Manage reccuring user jobs with cron5m 2s
-
(Locked)
Manage reccuring system jobs with cron2m 41s
-
(Locked)
Limiting access to AT and cron3m 41s
-
(Locked)
-
-
-