<div dir="auto">Dear Kin</div><div dir="auto"><br></div><div dir="auto">Thanks very much. Learning all the time. Keplers  and USDB are working now </div><div dir="auto">Now looking at the logs to see what else is wrong. </div><div dir="auto"><br></div><div dir="auto">73’s</div><div dir="auto">Erik</div><div dir="auto">PA0ESH<br clear="all"><br clear="all"><div dir="auto"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Verzonden via Gmail Mobile</div></div></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op za 12 okt 2024 om 13:00 schreef <<a href="mailto:dxspider-support-request@tobit.co.uk">dxspider-support-request@tobit.co.uk</a>><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Dxspider-support mailing list submissions to<br>
        <a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" rel="noreferrer" target="_blank">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:dxspider-support-request@tobit.co.uk" target="_blank">dxspider-support-request@tobit.co.uk</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:dxspider-support-owner@tobit.co.uk" target="_blank">dxspider-support-owner@tobit.co.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Dxspider-support digest..."<br>
Today's Topics:<br>
<br>
   1. Re: Crontab running ? (Kin EA3CV)<br>
<br><br><br>---------- Forwarded message ----------<br>From: Kin EA3CV <<a href="mailto:ea3cv@cronux.net" target="_blank">ea3cv@cronux.net</a>><br>To: The DXSpider Support list <<a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a>><br>Cc: Erik Schott <<a href="mailto:fhaschott@gmail.com" target="_blank">fhaschott@gmail.com</a>><br>Bcc: <br>Date: Sat, 12 Oct 2024 09:36:36 +0200<br>Subject: Re: [Dxspider-support] Crontab running ?<br><div><div dir="auto">Hi Erik, </div><div dir="auto"><br></div><div dir="auto">The problem you have is that <a href="http://keps.pl" target="_blank">keps.pl</a> is an internal dxspider command. You have to run it from the console.</div><div dir="auto">About the crontab, the same. It is the dxspider cron, so you have to look for the traces in local_data/debug/2024/<day of the year><br></div><div dir="auto"><br></div><div dir="auto">73 de Kin EA3CV</div><div dir="auto"><br></div><div id="m_4526363862809719016mail-editor-reference-message-container" dir="auto"><br><hr style="display:inline-block;width:98%"><div id="m_4526363862809719016divRplyFwdMsg" style="font-size:11pt"><strong>De:</strong> Dxspider-support <<a href="mailto:dxspider-support-bounces@tobit.co.uk" target="_blank">dxspider-support-bounces@tobit.co.uk</a>> en nombre de Erik Schott via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a>><br><strong>Enviado:</strong> sábado, octubre 12, 2024 12:45:43 a. m.<br><strong>Para:</strong> <a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a> <<a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a>><br><strong>CC:</strong> Erik Schott <<a href="mailto:fhaschott@gmail.com" target="_blank">fhaschott@gmail.com</a>><br><strong>Asunto:</strong> [Dxspider-support] Crontab running ?<br></div><br><font face="Courier New">Dear all,</font><div><font face="Courier New"><br></font></div><div><font face="Courier New">Is there a way how I can check that cronjobs are running ?</font></div><div><font face="Courier New">In this case when I checked the Kepler sets (sh/sat), I get the following:</font></div><div><font face="Courier New"><br></font></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">Satellites available/Age of Keps (days):-</font></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">               AO-07: 6827                 AO-10: 6828</font></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">               AO-16: 6827                 AO-27: 6827</font></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">               AO-40: 6826                 AO-51: 6826</font></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">            FENGYUN1: 6826                 FO-29: 6827</font></span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New"><br></font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">If I read it correct, there are very old datasets but I may be wrong.</font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New"><br></font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">I found a cronjob for updating the keppler sets and put it in the crontab</font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New"><br></font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New"><div># AutoUpdate Keps (At 02:00 on Tuesday, Thursday, and Saturday)</div><div>0 2 * * 2,4,6 spawn("cd /tmp | wget -qN <a href="http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt" target="_blank">http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt</a> & /spider/perl/convkepspl -p nasabare.txt &")</div><div>5 2 * * 2,4,6 run_cmd("load/keps")</div><div>10 2 * * 2,4,6 spawn("rm /tmp/nasabare.txt")</div><div><br></div><div>How do I know or can I check that the job has successfully completed. (Thursday has passed with the cronjob active)</div><div>I tried to do the commands one by one but then I get an error.</div><div>I can’t find the cron log, something strange going on with logs and Debian 12.</div><div><br></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b><br></b></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>sysop@hamradio</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>/tmp</b></span><span style="font-variant-ligatures:no-common-ligatures">$ </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>~</b></span><span style="font-variant-ligatures:no-common-ligatures">$ wget -qN <a href="http://www.amsatorg/amsat/ftp/keps/current/nasabare.txt" target="_blank">http://www.amsatorg/amsat/ftp/keps/current/nasabare.txt</a></span></div><span style="font-variant-ligatures:no-common-ligatures"></span><div><p style="margin:0px;font-stretch:normal;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>sysop@hamradio</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>/tmp</b></span><span style="font-variant-ligatures:no-common-ligatures">$ /home/sysop/spider/perl/<a href="http://convkeps.pl" target="_blank">convkeps.pl</a> -p nasabare.txt</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">120 keps converted</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b>sysop@hamradio:</b></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b>/tmp</b></span><span style="font-variant-ligatures:no-common-ligatures">$ </span> /home/sysop/spider/cmd/load/<a href="http://keps.pl" target="_blank">keps.pl</a></p><span style="font-variant-ligatures:no-common-ligatures"></span><p style="margin:0px;font-stretch:normal;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">/home/sysop/spider/cmd/load/<a href="http://keps.pl" target="_blank">keps.pl</a>: line 4: syntax error near unexpected token `$self,'</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">/home/sysop/spider/cmd/load/<a href="http://keps.pl" target="_blank">keps.pl</a>: line 4: `my ($self, $line) = @_;'</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">Code <a href="http://keps.pl" target="_blank">keps.pl</a></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><div>#</div><div># load the the keps file after changing it</div><div>#</div><div>my ($self, $line) = @_;</div><div>return (1, $self->msg('e5')) if $self->priv < 5;</div><div><br></div><div>if ($line =~ /^(\d+)$/) {</div><div><span style="white-space:pre-wrap">        </span>my $msgno = $1;</div><div><span style="white-space:pre-wrap">  </span>my $mref = DXMsg::get($msgno);</div><div><span style="white-space:pre-wrap">   </span>return (1, $self->msg('m4', $msgno)) unless $mref;</div><div><span style="white-space:pre-wrap">    </span>return (1, $self->msg('sat5')) unless $mref->subject =~ /\b\d{3,6}\.AMSAT\b/i;</div><div><span style="white-space:pre-wrap">     </span>my $fn = DXMsg::filename($msgno);</div><div><span style="white-space:pre-wrap">        </span>my $fh = new IO::File "$main::root/perl/<a href="http://convkeps.pl" target="_blank">convkeps.pl</a> $fn |";</div><div><span style="white-space:pre-wrap">   </span>my @in = <$fh>;</div><div><span style="white-space:pre-wrap">    </span>$fh->close;</div><div><span style="white-space:pre-wrap">   </span>return (1, @in) if @in;</div><div>}</div><div>my @out = Sun::load($self);</div><div>@out = ($self->msg('ok')) if !@out;</div><div>return (1, @out); </div><div><br></div></span></div><div>Server: <span style="white-space:pre-wrap">      </span><a href="http://dxcluster.pa0esh.nl" target="_blank">dxcluster.pa0esh.nl</a></div><div>OS:<span style="white-space:pre-wrap">          </span>Debian 12</div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Software<span style="white-space:pre-wrap">      </span>  DXSpider V1.57 build 547</span></p></div></font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New"><br></font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">Thanks in advance for some guidance…</font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New"><br></font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">Erik, </font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Courier New">PA0ESH</font></span></div><br><br></div></div>


_______________________________________________<br>
Dxspider-support mailing list<br>
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank">Dxspider-support@tobit.co.uk</a><br>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" rel="noreferrer" target="_blank">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br>
</blockquote></div></div>