• Home
  • Popular Downloads
  • Contact Us
  • Submit

Softpile

Free Downloads

Main Navigation
  • Home
  • Windows
  • Mac OS X
  • Business
  • Desktop
  • Development
  • Education
  • Games
  • Internet
  • Multimedia
  • Utilities
Home » Linux » incron

incron

June 22, 2009
An "inotify cron" system.
Version: 0.5.9
License: GPL
Operating System: Linux
Homepage: jincron.aiken.cz
Developed by: Lukas Jelinek
incron is an "inotify cron" system. It works like the regular cron but is driven by filesystem events instead of time periods.

incron contains two programs, a daemon called "incrond" (analogous to crond) and a table manipulator "incrontab" (like "crontab").

How to build:

Because this version is very early it does not contain a standard portable build mechanism. There is only a Makefile which must be modified manually. On many Linux systems you need not to change anything.

Please review the Makefile BEFORE you type 'make'. Especially check the PREFIX and other common variables. If done you can now build the files ('make').

The binaries must be of course installed as root. Note that the installer creates a special user called 'incron' which manages the incron tables.

How to use:

The incron daemon (incrond) must be run under root (typically from runlevel script etc.). It loads the current user tables and hooks them for later changes.

The incron table manipulator may be run under any regular user since it SUIDs. For manipulation with the tables use basically the same syntax as for the crontab program. You can import a table, remove and edit the current table.

The user table rows have the following syntax:

< path > < mask > < command >

Where:

< path > is a filesystem path (currently avoid whitespaces!)
< mask > is a symbolic (see inotify.h; use commas for separating symbols) or numeric mask for events
< command > is an application or script to run on the events

The command may contain these wildcards:

$$ - a dollar sign
$@ - the watched filesystem path (see above)
$# - the event-related file name
Example: You need to run program 'abc' with the full file path as an argument every time a file is changed in /var/mail. One of the solutions follows:
/var/mail IN_CLOSE_WRITE abc $@/$#
cron filesystem events incron inotify inotify cron table manipulator
Free Download 169K
0
  • Share on:

incron User Reviews

Sponsored

Categories

  • Linux

Related Downloads

KlearCase
KlearCase is a set of tools to access Clearcase using the KDE environment.
cfs-el
cfs-el is an Emacs frontend for CFS (Cryptographic File System).
PHP File Manager
PHP File Manager is a complete filesystem management tool in a single file.
Gfarm file system
Gfarm file system is a next-generation network shared file system.
OperaFS
OperaFS is a Linux implementation of the Opera file system, which is the file ...
Copyright © 1999-2017 Softpile Free Downloads
  • Contact Us
  • Submit
  • Privacy Policy
  • Disclaimer
  • Terms of Use