The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Loop till you find a string in a fine <-- Need Help New to Unix Scripting mrehman UNIX for Dummies Questions & Answers 1 01-30-2008 02:01 PM
Unix shell scripting to find latest file having timestamp embedded... kaushik25 AIX 2 08-06-2007 07:42 PM
How to find whenther given value is in betwwen min and Max in unix shell scripting pinky UNIX for Dummies Questions & Answers 5 07-27-2007 07:52 AM
How To Provide Time Sync Using Nts-150 Time Server On Unix Network? pesty UNIX for Advanced & Expert Users 2 03-21-2007 10:20 PM
why shell scripting takes more time to read a file brkavi_in Shell Programming and Scripting 1 06-23-2006 05:20 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2004
Registered User
 

Join Date: Jul 2002
Posts: 22
UNIX find by time scripting

Hi,

I want to write a UNIX script that checks for any files older then 20mins in
in a unix directory. If it does find a file then an email gets sent notifying the administrator.
If no files are found then it doesn't do anything. Only thing I'm not so sure about writing is the finding of
files which are older then 20mins. I know how to find for files older then 1+ days.

Unix directory = /var/adm/test - check for files here older then 20mins
email = xyz@hotmail.com - email to be sent here

Help would be appreciated in this scripting.

cheers
Forum Sponsor
  #2 (permalink)  
Old 10-08-2004
google's Avatar
Moderator
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
Duplicate post to this thread. Post only 1 time please, see the rules.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0