files in /u/appl/fp/tmp
Brian White
bw.aljex at gmail.com
Wed Feb 6 18:43:51 PST 2019
Which means you also have to ensure that no other scheduled task or
unplanned user activity could be writing one legitimately at that time.
I suggest the cron job uses a find command to only select files older than
a day or an hour or something.
Something like this but I'll post a real example later when I'm not on a
phone.
find /u/appl/fp/tmp -type f -mmin +60 -delete
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.
It's kind of crap that you even have to rig up some kind of external
cleaner like that.
--
bkw
On Wed, Feb 6, 2019, 5:08 PM scooter6--- via Filepro-list <
filepro-list at lists.celestial.com wrote:
> Thanks Laura
> I'll write a cleanup script at night to clear this directory then
>
>
>
> On Wed, Feb 6, 2019 at 5:02 PM Laura Brody <laura.k.brody at gmail.com>
> wrote:
>
> > They are temporary files that filePro uses for sorting while generating a
> > report. Feel free to delete these files.
> >
> > Laura Brody
> >
> > On Wed, Feb 6, 2019 at 4:55 PM scooter6--- via Filepro-list <
> > filepro-list at lists.celestial.com> wrote:
> >
> >> In the midst of copying files to new server and I see there are a TON
> >> (like
> >> over 15,000) files located in /u/appl/fp/tmp that are all similarly
> named
> >> something like srtkx7tMD etc
> >>
> >> Do these files need to be maintained? What are these for, some sort of
> log
> >> files?
> >> Never noticed them before
> >>
> >> thanks
> >>
> >> Scott
> >> PDM
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> >>
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/2c17493e/attachment.html
> >> >
> >> _______________________________________________
> >> Filepro-list mailing list
> >> Filepro-list at lists.celestial.com
> >> Subscribe/Unsubscribe/Subscription Changes
> >> http://mailman.celestial.com/mailman/listinfo/filepro-list
> >>
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/68db0234/attachment.html
> >
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190206/0022b58c/attachment.html>
More information about the Filepro-list
mailing list