incrontab

cron-like daemon which handles filesystem events

Install

All systems
curl cmd.cat/incrontab.sh
Debian Debian
apt-get install incron
Ubuntu
apt-get install incron
Alpine
apk add incron
Arch Arch Linux
pacman -S incron
image/svg+xml Kali Linux
apt-get install incron
Fedora
dnf install incron
Windows (WSL2)
sudo apt-get update sudo apt-get install incron
Raspbian
apt-get install incron
Docker
docker run cmd.cat/incrontab incrontab powered by Commando

incron

cron-like daemon which handles filesystem events

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