Thursday, 11 January 2018

Linux from the command line | Linux for sysadmins -- Triggering events with incron

Linux from the command line | Linux for sysadmins -- Triggering events with incron

Recently I posted an article on using inotify to trigger events which you could use to perform tasks. (See https://plus.google.com/u/0/+ChristopherGaul/posts/P3hwHGSMjHk )

Now here's a tutorial on doing something similar with incron.

As I've said repeatedly, one of the strengths of the Linux/Unix environment is that there are almost always multiple ways to do things and you have the freedom to choose the one that best suits your needs and your style. So here is a second method for performing tasks when certain things happen.
https://www.howtoforge.com/tutorial/trigger-commands-on-file-or-directory-changes-with-incron-on-debian-9/

No comments:

Post a Comment