<div dir="auto">Which means you also have to ensure that no other scheduled task or unplanned user activity could be writing one legitimately at that time.<div dir="auto"><br></div><div dir="auto">I suggest the cron job uses a find command to only select files older than a day or an hour or something.</div><div dir="auto"><br></div><div dir="auto">Something like this but I'll post a real example later when I'm not on a phone.</div><div dir="auto"><br></div><div dir="auto">find /u/appl/fp/tmp -type f -mmin +60 -delete</div><div dir="auto"><br></div><div dir="auto">That will ignore any file that's younger than an hour, so it should safe to run any time and never be at risk of corrupting a job in progress, without relying on you being right about any assumptions about timing.</div><div dir="auto"><br></div><div dir="auto">It's kind of crap that you even have to rig up some kind of external cleaner like that.</div><div dir="auto"><br></div><div dir="auto">-- </div><div dir="auto">bkw</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Feb 6, 2019, 5:08 PM scooter6--- 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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" rel="noreferrer">laura.k.brody@gmail.com</a>> 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" rel="noreferrer">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 named<br>
>> something like srtkx7tMD etc<br>
>><br>
>> Do these files need to be maintained? What are these for, some sort of 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>
>> <a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/2c17493e/attachment.html" rel="noreferrer noreferrer" target="_blank">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" rel="noreferrer">Filepro-list@lists.celestial.com</a><br>
>> Subscribe/Unsubscribe/Subscription Changes<br>
>> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer noreferrer" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
>><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/68db0234/attachment.html" rel="noreferrer noreferrer" target="_blank">http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/68db0234/attachment.html</a>><br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank" rel="noreferrer">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer noreferrer" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
</blockquote></div>