[Dxspider-support] Remove old spots and data

Anthony (N2KI) n2ki.ham at gmail.com
Tue May 31 15:11:27 BST 2022


Understood. Thanks for the clarity.  The spot data files in my system go
back to 2018. They tend to become large and take up space needlessly. I
forget to go in and prune them except when either I remember or a thread is
started such as this. That generally wakes me up. Lol.

On Tue, May 31, 2022, 09:26 Dirk Koopman via Dxspider-support <
dxspider-support at tobit.co.uk> wrote:

> The operating system isn't really relevant here. But you must not remove
> the /spider/data nor the /spider/local_data directories and if you remove
> any of the directories (e.g. log, spots) under these paths the behaviour is
> undefined (at best) and should not be done at run time *at all*. In
> principle you *could* remove old or unused directories at the next level
> down (e.g. /spider/local_data/spots/2021 or /spider/data/spots/2021) at any
> time, but removing a directory that is in use (i.e. spots/2022) whilst
> running would likely cause problems.
>
> Dirk G1TLH
>
> On 31/05/2022 14:02, Anthony (N2KI) via Dxspider-support wrote:
>
> As a point of interest, on a Windows installation, can we just delete the
> file folders in the Data folder?
>
>
> Regards,
>
> Anthony (N2KI)
>
>
>
>
>
>
>
>
>
> On Tue, May 31, 2022 at 8:06 AM Joaquin via Dxspider-support <
> dxspider-support at tobit.co.uk> wrote:
>
>> Always learn something.
>>
>> Thanks Dirk.
>>
>> Kin
>>
>> El 31 may. 2022 13:07, Dirk Koopman via Dxspider-support <
>> dxspider-support at tobit.co.uk> escribió:
>>
>> On 31/05/2022 11:56, Dirk Koopman via Dxspider-support wrote:
>>
>> spawn("find /spider/local_data/logs -type f -mtime +62 -exec rm -f {}
>> \;").
>>
>>
>> is actually wrong, because the \; is required by the underlying shell
>> that spawn runs the find command in,  and should be \\; if using " as the
>> quoting character for the spawn().
>>
>> This is a one of those perl quoting conundrums. This is probably better
>> quoted like this:
>>
>> spawn('find /spider/local_data/logs -type f -mtime +62 -exec rm -f {}
>> \;').
>>
>> or
>>
>> spawn(q[find /spider/local_data/logs -type f -mtime +62 -exec rm -f {}
>> \;]).
>>
>> sorry about that.
>>
>> Dirk G1TLH
>>
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>
>
> _______________________________________________
> Dxspider-support mailing listDxspider-support at tobit.co.ukhttps://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20220531/eae92877/attachment-0001.htm>


More information about the Dxspider-support mailing list