How To Install at on CentOS 7

In this tutorial we learn how to install at on CentOS 7. at is Job spooling tools

Introduction

In this tutorial we learn how to install at on CentOS 7.

What is at

At and batch read commands from standard input or from a specified file. At allows you to specify that a command will be run at a particular time. Batch will execute commands when the system load levels drop to a particular level. Both commands use user’s shell. You should install the at package if you need a utility for time-oriented job control. Note will need to be repeated at the same time every day/week, etc. you should use crontab instead.

We can use yum or dnf to install at on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install at.

Install at on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install at using yum by running the following command:

sudo yum -y install at

Install at on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install at using dnf by running the following command:

sudo dnf -y install at

How To Uninstall at on CentOS 7

To uninstall only the at package we can use the following command:

sudo dnf remove at

References

Summary

In this tutorial we learn how to install at on CentOS 7 using yum and dnf.