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 one-time jobs with AT

Manage one-time jobs with AT

- [Instructor] There are two different types of scheduled jobs: one-time jobs and recurring jobs. For one time jobs, we can use a service called at. The at service runs jobs at a certain time, or in the case of a batch job, when the CPU load average drops below 0.8. The syntax for at is at, space, followed by time format. At supports a wide variety of time formats, including simple 12 and 24-hour clock times, like 4:25am or 16:45. It supports general terms like midnight, noon, tomorrow, and now plus a specified number of minutes, hours, or days. It even supports teatime, which is apparently at four p.m. If we don't want to schedule a one-time task for right now, we can specify a time and date. The time format always has to come before the date. The at service is usually installed by default. Let's be sure by installing it using Yum, and if there's a newer version, it will update it. Type into a terminal, sudo yum install -y at…

Contents