How To Install cronie on CentOS 7
Introduction
In this tutorial we learn how to install cronie
on CentOS 7.
What is cronie
Cronie contains the standard UNIX daemon crond that runs specified programs at scheduled times and related tools. It is a fork of the original vixie-cron and has security and configuration enhancements like the ability to use pam and SELinux.
We can use yum
or dnf
to install cronie
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install cronie.
Install cronie on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install cronie
using yum
by running the following command:
Install cronie 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.
After updating yum database, We can install cronie
using dnf
by running the following command:
How To Uninstall cronie on CentOS 7
To uninstall only the cronie
package we can use the following command:
References
Summary
In this tutorial we learn how to install cronie
on CentOS 7 using yum
and dnf
.