<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<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 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>