![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
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 06:01 PM |
| Unix shell scripting to find latest file having timestamp embedded... | kaushik25 | AIX | 2 | 08-06-2007 11: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 11:52 AM |
| How To Provide Time Sync Using Nts-150 Time Server On Unix Network? | pesty | UNIX for Advanced & Expert Users | 2 | 03-22-2007 02:20 AM |
| why shell scripting takes more time to read a file | brkavi_in | Shell Programming and Scripting | 1 | 06-23-2006 09:20 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|