Scheduling jobs based on filesystem activity with incron

Posted by Scott_Ruecker on Aug 21, 2008 1:50 AM EDT
Linux.com; By Shashank Sharma
Mail this story
Print this story

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

  Nav
» Read more about: Story Type: News Story; Groups: Linux

« Return to the newswire homepage

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.