Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Public Key Crypto for Enterprise Users

Analyzing TCP Disconnects On Linux Or Unix

Linux Evolution Reveals Origins of Curious Mathematical Phenomenon

A Microsoft Veteran Embraces Open Source

Using Spawner To Populate SQL Database

WiMAX Deal "Clears" Linux for Takeoff

Nitrogen: A Background Setter For Lightweight Desktop Manager

Technology, Innovation and the Challenge of the Missing Standards

Red Hat Chief: 'Cheaper Generally Wins'

How Comcast Controls Sony's Internet TV Plans




Unix/Red Hat Systems Adminsitrator
The Computer Merchant, Ltd
US-PA-Lansdale

Justtechjobs.com Post A Job | Post A Resume
:Scheduling Jobs Based on Filesystem Activity With Incron
Scheduling Jobs Based on Filesystem Activity With Incron
Aug 21, 2008, 22 :02 UTC (0 Talkback[s]) (2368 reads)

(Other stories by Shashank Sharma)

"If you want the system to play an audio file whenever a new file/directory is created in your home directory, use this incrontab entry: /home/linuxlala IN_CREATE paplay /usr/share/sounds/pop.wav. The command /home/linuxlala IN_CREATE rm -rf $@/$# works similarly but its purpose is far more evil. With this entry in the incrontab file, any directory or file created in the user's home directory would be immediately deleted. The special symbols, or wildcards ($@/$#), convey the complete path of the newly created file to the rm -rf command."

Complete Story

Related Stories:
How to Spy on Your PC When You Are Away(Aug 20, 2008)
Backing up in Ubuntu is Finally Made Simple: TimeVault(Feb 12, 2008)
Schedule Streaming Audio Recordings in Ubuntu(Oct 02, 2007)
Cron: Pinging Hosts(Sep 08, 2007)
Linux Command Line Tips: Job Management(Aug 30, 2007)
Linux Tip: Controlling the Duration of Scheduled Jobs(Aug 03, 2007)
Schedule Tasks Using Gnome-schedule (A cron & at GUI) in Ubuntu(Jul 29, 2007)
Linux Tip: Job Scheduling with Cron and At(Jul 25, 2007)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers