We do something similar, I use another phantom that runs at night.
It pulls the timedate of each @ID in &PH& and deletes it if it's
more than 48 hours old.

I setup a DICT item that converts the timedate in the @ID to the date
and SELECT &PH& with NODS GE 2, where NODS is DATE()-FIELD(@ID'S DATE)
NODS = NUMBER OF DAYS SINCE

George

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Scott 
> Ballinger
> Sent: Thursday, October 05, 2006 12:38 PM
> To: [email protected]
> Subject: [U2] Cron job creates many &PH& entries
> 
> 
> 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/

Reply via email to