<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Jan,<div><br></div><div>This looks like a more efficient way than my current method of tidying the logs.  A couple of questions.</div><div><br></div><div>Why use 1-12 for the month, wouldn’t a * work just the same?</div><div><br></div><div>What is the relevance of (q[find…. Rather than just spawn(find ?</div><div><br></div><div>Thanks.</div><div><br></div><div><br></div><div><div><br><blockquote type="cite"><div>On 7 Dec 2022, at 12:27, Jan via Dxspider-support <dxspider-support@tobit.co.uk> wrote:</div><br class="Apple-interchange-newline"><div>
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  <div>
    <font size="4"><font face="Arial">Kin<br>
        This is the correct sript. (I did not move the mouse far
        enough....)<br>
        <br>
        0 0 * 1-12 * spawn(q[find /spider/local_data/debug -type f
        -mtime +2 -exec rm -f {} \;])<br>
        2 0 * 1-12 * spawn(q[find /spider/local_data/log -type f -mtime
        +2 -exec rm -f {} \;])<br>
        3 0 * 1-12 * spawn(q[find /spider/local_data/spots -type f
        -mtime +2 -exec rm -f {} \;])<br>
        4 0 * 1-12 * spawn(q[find /spider/local_data/wcy -type f -mtime
        +1 -exec rm -f {} \;])<br>
        5 0 * 1-12 * spawn(q[find /spider/local_data/wwv -type f -mtime
        +1 -exec rm -f {} \;])<br>
        <br>
        <br>
        <br>
      </font></font><br>
    <div class="moz-cite-prefix">Op 7-12-2022 om 12:18 schreef Joaquin
      via Dxspider-support:<br>
    </div>
    <blockquote type="cite" cite="mid:fdb1e10b-e7e7-c492-8f90-169eba304914@cronux.net">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><p>Jan, looks like they are missing ")" ????</p><p>Kin EA3CV<br>
      </p><p><br>
      </p>
      <div class="moz-cite-prefix">El 07/12/2022 a las 11:13, Jan via
        Dxspider-support escribió:<br>
      </div>
      <blockquote type="cite" cite="mid:e7ad0ab2-0844-f562-58a0-f992420528ff@pa4jj.nl">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <font size="4"><font face="Arial">Keith<br>
             I am using this script in the crontab<br>
            <br>
            #We need to clean old data<br>
            #<br>
            0 0 * 1-12 * spawn(q[find /spider/local_data/debug -type f
            -mtime +2 -exec rm -$<br>
            2 0 * 1-12 * spawn(q[find /spider/local_data/log -type f
            -mtime +2 -exec rm -f $<br>
            3 0 * 1-12 * spawn(q[find /spider/local_data/spots -type f
            -mtime +2 -exec rm -$<br>
            4 0 * 1-12 * spawn(q[find /spider/local_data/wcy -type f
            -mtime +1 -exec rm -f $<br>
            5 0 * 1-12 * spawn(q[find /spider/local_data/wwv -type f
            -mtime +1 -exec rm -f $<br>
            <br>
            73<br>
            Jan PA4JJ<br>
          </font></font><br>
        <div class="moz-cite-prefix">Op 7-12-2022 om 11:06 schreef Keith
          Maton via Dxspider-support:<br>
        </div>
        <blockquote type="cite" cite="mid:D8289A24-0C65-4EA2-8428-12D6C1429ED5@me.com">
          <meta http-equiv="content-type" content="text/html;
            charset=UTF-8">
          I can’t, the SD card is full and the export fails.  Now the
          node has stopped again.
          <div><br>
          </div>
          <div>Looking for logs I can delete so I can try again..</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
            <div><br>
              <blockquote type="cite">
                <div>On 7 Dec 2022, at 09:32, Joaquin via
                  Dxspider-support <a class="moz-txt-link-rfc2396E" href="mailto:dxspider-support@tobit.co.uk" moz-do-not-send="true"><dxspider-support@tobit.co.uk></a>
                  wrote:</div>
                <br class="Apple-interchange-newline">
                <div>
                  <meta http-equiv="Content-Type" content="text/html;
                    charset=UTF-8">
                  <div><p>Sorry, I don't know why I didn't read about the
                      user_json file.<br>
                      Do an export_user, remove the 13GB one, and
                      reboot.</p><p>Kin<br>
                    </p>
                    <div class="moz-cite-prefix">El 07/12/2022 a las
                      10:29, Joaquin via Dxspider-support escribió:<br>
                    </div>
                    <blockquote type="cite" cite="mid:4a97a7b8-dbad-2c75-fdd7-41e50b0edf3a@cronux.net">
                      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><p>Keith,</p><p>Look to see what you have defined in debug: <b>sh/debug</b>,
                        you also have many traces and you can reduce
                        them with <b>unset/debug</b>.<br>
                        Or you can limit the number of log files if your
                        FS is small.</p><p>Kin</p><p><br>
                      </p>
                      <div class="moz-cite-prefix">El 07/12/2022 a las
                        10:23, Keith Maton via Dxspider-support
                        escribió:<br>
                      </div>
                      <blockquote type="cite" cite="mid:A3165BA6-B24B-49C5-9D65-3C2BC5795EC4@me.com">
                        <pre class="moz-quote-pre" wrap="">I spoke too soon.

Woke up this morning to a crashed node, the Pi was still running but when I tried to connect externally to the node, I had no response, when I logged on and issued a /spider/perl/console.pl command, I just had a grey screen.  I’ve checked the debug log and it fell over at 02:29:47 this morning.  The last entry in the debug log is just a normal spot.

I successfully rebooted and it’s all running but I have PRTG monitoring and I just got pinged for low disk space.

When I check, my /local_data/user_json file has grown to 13Gb.

Any idea what’s caused this?  Can I just stop the node, delete the file and restart?  I suspect with less than 50Mb disk space, it’s going to crash soon anyway.</pre>
                      </blockquote>
                      <br>
                      <fieldset class="moz-mime-attachment-header"></fieldset>
                      <pre class="moz-quote-pre" wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Dxspider-support@tobit.co.uk" moz-do-not-send="true">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" moz-do-not-send="true">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
                    </blockquote>
                  </div>
                  _______________________________________________<br>
                  Dxspider-support mailing list<br>
                  <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Dxspider-support@tobit.co.uk" moz-do-not-send="true">Dxspider-support@tobit.co.uk</a><br>
                  <a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" moz-do-not-send="true">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br>
                </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 moz-txt-link-freetext" href="mailto:Dxspider-support@tobit.co.uk" moz-do-not-send="true">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" moz-do-not-send="true">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>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Dxspider-support@tobit.co.uk" moz-do-not-send="true">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" moz-do-not-send="true">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
      </blockquote>
      <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>
  </div>

_______________________________________________<br>Dxspider-support mailing list<br>Dxspider-support@tobit.co.uk<br>https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support<br></div></blockquote></div><br></div></body></html>