<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Arial">Kim<br>
<br>
Thanks for your mail.<br>
I will let you know tomorrow if I succeed.<br>
<br>
73<br>
Jan<br>
PA4JJ<br>
</font><br>
<div class="moz-cite-prefix">Op 31-5-2022 om 12:43 schreef Joaquin
via Dxspider-support:<br>
</div>
<blockquote type="cite"
cite="mid:f2a39e64-f2a8-438f-a67a-274092e11c37@email.android.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto"><font size="2" face="roboto, helvetica neue,
arial, sans-serif" color="#4d5156"><span
style="background-color: rgb(255, 255, 255);">Hi, </span></font><br>
<div dir="auto"><span style="color: rgb(77, 81, 86);
font-family: roboto, "helvetica neue", arial,
sans-serif; font-size: small; background-color: rgb(255,
255, 255);">Correct Jan, +3 indicates files older than 3
days.</span></div>
<div dir="auto"><span style="color: rgb(77, 81, 86);
font-family: roboto, "helvetica neue", arial,
sans-serif; font-size: small; background-color: rgb(255,
255, 255);"><br>
</span></div>
<div dir="auto"><span style="color: rgb(77, 81, 86);
font-family: roboto, "helvetica neue", arial,
sans-serif; font-size: small; background-color: rgb(255,
255, 255);">Kim</span></div>
<div dir="auto"><span style="color: rgb(77, 81, 86);
font-family: roboto, "helvetica neue", arial,
sans-serif; font-size: small; background-color: rgb(255,
255, 255);">EA3CV</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">El 31 may. 2022 9:24, Jan via
Dxspider-support <a class="moz-txt-link-rfc2396E" href="mailto:dxspider-support@tobit.co.uk"><dxspider-support@tobit.co.uk></a>
escribió:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <font face="Arial">Hi Kin<br>
<br>
I have put it in the de dxspider crontab yesterday but I
just looked this morning and all the spots and other
data are still there.<br>
Data is stored from may 20 to may 31 and I want to
reduce these to only 3 days.<br>
Should I change the +31 +62 into smaller figures e.g. +3
and +6?<br>
<br>
73<br>
Jan<br>
PA4JJ<br>
<br>
</font><br>
<div>Op 30-5-2022 om 19:52 schreef Kin via
Dxspider-support:<br>
</div>
<blockquote>
<p><font face="Calibri">Jan, I don't see what's wrong,
but I have it implemented in the dxspider crontab
like this:<br>
</font></p>
<p><font face="Calibri">0 0 * 1-12 * spawn("</font><font
face="Calibri"><font face="Calibri">find </font>/spider/local_data/debug
-type f -mtime +31 | xargs rm -rf")<br>
2 0 * 1-12 * spawn("find /spider/local_data/log
-type f -mtime +62 | xargs rm -rf")<br>
3 0 * 1-12 * spawn("find /spider/local_data/spots
-type f -mtime +31 | xargs rm -rf")<br>
<br>
Regards.<br>
<br>
Kin EA3CV</font></p>
<p><font face="Calibri"><br>
</font></p>
<div>El 30/05/2022 a las 17:09, Jan via Dxspider-support
escribió:<br>
</div>
<blockquote> <font face="Arial">Hello<br>
<br>
I am running DX-Spider ver. 1.57 build 441 on a
raspberry Pi zero W.<br>
<br>
When I used ver.1.55 build 249 there was a script
called spider saved in etc/cron.daily/spider which
removed <br>
data in /spider/data/log, /spider/data/debug and
/spider/data/spots<br>
<br>
So with the build 441 the path now should be </font><br>
<font face="Arial"><font face="Arial">
/spider/local_data/log, /spider/local_data/debug
and /spider/local_data/spots<br>
<br>
So to remove older spots I have these lines:<br>
<br>
#!/bin/sh We need to delete old files.<br>
spiderdir="/spider/local_data/spots/2022" <br>
if [ -n "$spiderdir" ] && [ -d"$spiderdir"
]; then<br>
# only keep three days' depth of these<br>
find "$spiderdir" -type f -mtime +3 -exec rm {} \;
fi<br>
<br>
I did chmod a+x spider<br>
<br>
But I the spots are not removed. I still see spots
starting may 20 til may 30<br>
(which should be may27 til may 30)<br>
<br>
What is wrong?<br>
Do I need to place the script elswhere or maybe
use a complete different one?<br>
<br>
Please some help<br>
</font></font>
<pre>--
73
Jan
PA4JJ
______________________________________________________
My dxspider clusters running 24/7 on a raspberry pi 2
pa4jj-2 telnet 77.174.195.163 port 7300
pa4jj-3 telnet 77.174.195.163 port 7388</pre>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Dxspider-support mailing list
<a href="mailto:Dxspider-support@tobit.co.uk" moz-do-not-send="true" class="moz-txt-link-freetext">Dxspider-support@tobit.co.uk</a>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" moz-do-not-send="true" class="moz-txt-link-freetext">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
</blockquote>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Dxspider-support mailing list
<a href="mailto:Dxspider-support@tobit.co.uk" moz-do-not-send="true" class="moz-txt-link-freetext">Dxspider-support@tobit.co.uk</a>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" moz-do-not-send="true" class="moz-txt-link-freetext">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
</blockquote>
<br>
<pre>--
73
Jan
PA4JJ
______________________________________________________
My dxspider clusters running 24/7 on a raspberry pi 2
pa4jj-2 telnet 77.174.195.163 port 7300
pa4jj-3 telnet 77.174.195.163 port 7388</pre>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dxspider-support@tobit.co.uk">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
73
Jan
PA4JJ
______________________________________________________
My dxspider clusters running 24/7 on a raspberry pi 2
pa4jj-2 telnet 77.174.195.163 port 7300
pa4jj-3 telnet 77.174.195.163 port 7388</pre>
</body>
</html>