Hey, BRIEF does exactly what I asked for. But you know what they say: be careful what you ask for! It got me thinking... I guess I like the logging aspect of the &PH& entries, in case something stops working I have some entrails to sift (or is that tea leaves to read?), anyway, here is what I ended up with (keeps 2 days of logs):
#!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" # purge &ph& entries more than 2 days old cd \&PH\& find . -mtime +2 -name "DUPCHECK*" -print | xargs rm Yes, that is kind of an overkill, running the 'rm' every minute instead of once per day; but this way it's all in one place and that much easier to see what's going on when I re-visit this in the memory-impaired future. Thanks to all! /Scott -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, October 05, 2006 10:36 AM To: [email protected] Subject: Re: [U2] Cron job creates many &PH& entries Hi Scott, Have you looked into BRIEF? #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM BRIEF DUPCHECK" -------------- Original message -------------- From: "Scott Ballinger" <[EMAIL PROTECTED]> > Universe 10.1.4, pick flavor, Red Hat > > I have a UV phantom cron job that runs every minute. It checks a > directory for any inbound files, processes them, then writes them to > an outbound directory. My problem is that the &PH& directory is > filling up with DUPCHECK_time_date files (1440 per day). Anyone know > how to turn off this feature? > > Here is the cron job: > > #!/bin/sh > TERM=ansi ; export TERM > cd /usr/yyy/XXX > /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" > > DUPCHECK is a cataloged basic program in the XXX account. > > Thanks, > > /Scott Ballinger > Pareto Corporation > Edmonds WA USA > 206 713 6006 > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
