incrond command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
incrond: command not found
or when using sudo you get the following error message
sudo: incrond: command not found
Solutions to incrond: command not found
How To Fix incrond: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu incrond is provided by incron package.
incron is:
incron is an “inotify cron” system. It works like the regular cron but is driven by filesystem events instead of time events. This package provides two programs, a daemon called “incrond” (analogous to crond) and a table manipulator “incrontab” (like “crontab”).
incron uses the Linux Kernel inotify syscalls.
like cron, each user can edit its own incron tables.
incron can be used to :
- notifying programs (e.g. server daemons) about changes in configuration
- guarding changes in critical files (with their eventual recovery)
- file usage monitoring, statistics
- automatic on-crash cleanup
- automatic on-change backup or versioning
- new mail notification (for maildir)
- server upload notification
- installation management (outside packaging systems)
- … and many others
To fix this problem, we can install more using the command below.
sudo apt-get -y install incron
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install incron.
sudo apt -y install incron
Or if you have aptitude installed you can use the following command.
sudo aptitude install incron
Summary
In this tutorial we learn how to fix incrond command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.