Why to use incron
incron provides a simple way how to solve many and many various situations. Everytimes when something depends on file system events it's a job for incron.
Here you can see a few examples where incron is a good solution:
- 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