<div dir="ltr"><div>That is exactly what I was planning was to not cleanup any dated 'today' and run this around 2am or so to clean up that directory</div><div><br></div><div>thanks</div><div><br></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Wed, Feb 6, 2019 at 9:44 PM Brian White via Filepro-list <<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Which means you also have to ensure that no other scheduled task or<br>
unplanned user activity could be writing one legitimately at that time.<br>
<br>
I suggest the cron job uses a find command to only select files older than<br>
a day or an hour or something.<br>
<br>
Something like this but I'll  post a real example later when I'm not on a<br>
phone.<br>
<br>
find /u/appl/fp/tmp -type f -mmin +60 -delete<br>
<br>
That will ignore any file that's younger than an hour, so it should safe to<br>
run any time and never be at risk of corrupting a job in progress, without<br>
relying on you being right about any assumptions about timing.<br>
<br>
It's kind of crap that you even have to rig up some kind of external<br>
cleaner like that.<br>
<br>
-- <br>
bkw<br>
<br>
On Wed, Feb 6, 2019, 5:08 PM scooter6--- via Filepro-list <<br>
<a href="mailto:filepro-list@lists.celestial.com" target="_blank">filepro-list@lists.celestial.com</a> wrote:<br>
<br>
> Thanks Laura<br>
> I'll write a cleanup script at night to clear this directory then<br>
><br>
><br>
><br>
> On Wed, Feb 6, 2019 at 5:02 PM Laura Brody <<a href="mailto:laura.k.brody@gmail.com" target="_blank">laura.k.brody@gmail.com</a>><br>
> wrote:<br>
><br>
> > They are temporary files that filePro uses for sorting while generating a<br>
> > report. Feel free to delete these files.<br>
> ><br>
> > Laura Brody<br>
> ><br>
> > On Wed, Feb 6, 2019 at 4:55 PM scooter6--- via Filepro-list <<br>
> > <a href="mailto:filepro-list@lists.celestial.com" target="_blank">filepro-list@lists.celestial.com</a>> wrote:<br>
> ><br>
> >> In the midst of copying files to new server and I see there are a TON<br>
> >> (like<br>
> >> over 15,000) files located in /u/appl/fp/tmp that are all similarly<br>
> named<br>
> >> something like    srtkx7tMD etc<br>
> >><br>
> >> Do these files need to be maintained? What are these for, some sort of<br>
> log<br>
> >> files?<br>
> >> Never noticed them before<br>
> >><br>
> >> thanks<br>
> >><br>
> >> Scott<br>
> >> PDM<br>
> >> -------------- next part --------------<br>
> >> An HTML attachment was scrubbed...<br>
> >> URL: <<br>
> >><br>
> <a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/2c17493e/attachment.html" target="_blank" rel="noreferrer">http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/2c17493e/attachment.html</a><br>
> >> ><br>
> >> _______________________________________________<br>
> >> Filepro-list mailing list<br>
> >> <a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.com</a><br>
> >> Subscribe/Unsubscribe/Subscription Changes<br>
> >> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank" rel="noreferrer">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
> >><br>
> ><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/68db0234/attachment.html" target="_blank" rel="noreferrer">http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/68db0234/attachment.html</a><br>
> ><br>
> _______________________________________________<br>
> Filepro-list mailing list<br>
> <a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.com</a><br>
> Subscribe/Unsubscribe/Subscription Changes<br>
> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank" rel="noreferrer">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/0022b58c/attachment.html" target="_blank" rel="noreferrer">http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/0022b58c/attachment.html</a>><br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank" rel="noreferrer">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
</blockquote></div>