Linux News
The world is talking about GNU/Linux and Free/Open Source Software
Scheduling jobs based on filesystem activity with incron
There are numerous documents, tutorials and guides detailing the workings and usage of cron, the de facto tool for scheduling jobs on Linux. While traditional cron jobs are executed at set times, inotify cron, or incron, is a cron clone that watches the filesystem for specified changes and executes the relevant commands. You can set incron to monitor a particular file or directory for changes and schedule jobs for when those changes occur. Fedora users can use yum to install incron with the yum install incron command. Once installed, you need to start the incron daemon before you can schedule jobs. The command, service incrond start, executed as root, will start the incron daemon on and the chkconfig incrond on command will configure it to be started at boot time.
|
|
Full Story |
Subject |
Topic Starter |
Replies |
Views |
Last Post |
incron is teh cool. |
herzeleid |
2 |
1,050 |
Aug 21, 2008 12:56 PM |
You cannot post until you login.