<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;"><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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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 http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt & /spider/perl/convkeps.pl -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 http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt</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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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/convkeps.pl -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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-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/keps.pl</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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures;">/home/sysop/spider/cmd/load/keps.pl: 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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures;">/home/sysop/spider/cmd/load/keps.pl: 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 keps.pl</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 class="Apple-tab-span" style="white-space: pre;">     </span>my $msgno = $1;</div><div><span class="Apple-tab-span" style="white-space: pre;">    </span>my $mref = DXMsg::get($msgno);</div><div><span class="Apple-tab-span" style="white-space: pre;">     </span>return (1, $self->msg('m4', $msgno)) unless $mref;</div><div><span class="Apple-tab-span" style="white-space: pre;">      </span>return (1, $self->msg('sat5')) unless $mref->subject =~ /\b\d{3,6}\.AMSAT\b/i;</div><div><span class="Apple-tab-span" style="white-space: pre;">       </span>my $fn = DXMsg::filename($msgno);</div><div><span class="Apple-tab-span" style="white-space: pre;">  </span>my $fh = new IO::File "$main::root/perl/convkeps.pl $fn |";</div><div><span class="Apple-tab-span" style="white-space: pre;">      </span>my @in = <$fh>;</div><div><span class="Apple-tab-span" style="white-space: pre;">      </span>$fh->close;</div><div><span class="Apple-tab-span" style="white-space: pre;">     </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 class="Apple-tab-span" style="white-space: pre;">        </span>dxcluster.pa0esh.nl</div><div>OS:<span class="Apple-tab-span" style="white-space: pre;">             </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-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures;">Software<span class="Apple-tab-span" style="white-space: pre;">     </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 class="Apple-interchange-newline"></body></html>