<div dir='auto'><font color="#4d5156" face="roboto, helvetica neue, arial, sans-serif" size="2"><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 <dxspider-support@tobit.co.uk> 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">Dxspider-support@tobit.co.uk</a>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">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">Dxspider-support@tobit.co.uk</a>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">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>