![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Log monitor script | er_ashu | UNIX for Dummies Questions & Answers | 2 | 12-30-2008 03:10 PM |
| If File has been updated, do something?? | cbo0485 | Shell Programming and Scripting | 5 | 11-07-2008 10:52 AM |
| Log file not getting updated | KornFire | High Level Programming | 4 | 10-21-2008 04:12 AM |
| Find last updated file | callimaco0082 | UNIX for Dummies Questions & Answers | 4 | 09-04-2008 11:17 AM |
| Creating an updated file | dbfree | Shell Programming and Scripting | 4 | 09-30-2005 04:23 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Aix script to monitor when a file has been updated
Hi
Im looking to create a Aix script to monitor a file for once it's been updated and then send an email. I dont have great scripting knowledge and have only come up with the following so far while true do find /home/test/AMQ* -mmin 1 > /home/test/scripts/output/MQERRORS exec /home/test/scripts/test sleep 20 done So from the above i can get the monitoring part done and am dealing with the email part in the script in the while loop in bold which i cant get to execute. Can you not execute a script in a while loop? There is probably an easier way to do it, so some help would be much appreciated. Thanks, Matt. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|