From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322232.tru64-unix-managers.marc@archive.invalid> From: "Kirkland, Mike # IHTUL" Date: Fri, 05 Apr 2002 15:07:40 +0000 To: tru64-unix-managers Subject: scripting help X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322232 Hi Admins, I just wanted to get some thoughts on how others wrote scripts to handle these problems. number 1. write a script that will monitor the sizes of files named pr.tr* and pr.er* in a directory named /apps/rms/otprod, when they get to be larger than 1 meg in size. When this occurs then send a email to a group of users. The group of user's email addresses will be kept in a seperate file to make adding and deleting them easier. This will be executed from a crontab entry that will happen every 5 mins. number 2. Find files in a directory that have been in that directory for longer than 15 mins, if so send an email to a group of users, listing out the file name, size and date time stamp. Thanks, Mike Kirkland mike.kirkland@ndchealth.com