Advanced

incron is teh cool.

Story: Scheduling jobs based on filesystem activity with incronTotal Replies: 2
Author Content
herzeleid

Aug 21, 2008
3:17 AM EDT
I looked at different ways of utilizing the inotify kernel interface for a requirement I had, namely to monitor directories on an vsftpd server for a customer who wanted notification whenever anything happened with files.

Of all the alternatives, incron was the least work - I just had to write some simple shell scripts to send the emails when fired off by incron. The other approaches all required having long running shell scripts or c programs and would have required more work and debugging to set something up.
Sander_Marechal

Aug 21, 2008
4:12 AM EDT
It sounds great, but it's too bad it doesn't work recursive. I'd love to be able to set a trigger on a single directory (e.g. my music collection) and have it fire an "mpc update" whenever anything inside there changes.
herzeleid

Aug 21, 2008
12:56 PM EDT
> It sounds great, but it's too bad it doesn't work recursive.

That's my only gripe with it...

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post