<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:"var\(--ff-mono\)";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.apple-tab-span
{mso-style-name:apple-tab-span;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal style='background:white;vertical-align:baseline'><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'>In Debian 12, the traditional syslog system has been replaced with systemd-journald. This means that the old log files like </span><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>syslog</span><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'>, </span><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>messages</span><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'>, </span><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>auth.log</span><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'> are no longer used. Instead, all system logs are now stored in a centralized journal, which is accessible using the </span><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>journalctl</span><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'> command.<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:13.2pt;background:white;vertical-align:baseline'><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'>To view the system logs, you can use the following command:<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>journalctl<o:p></o:p></span></p><p class=MsoNormal style='background:white;vertical-align:baseline'><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'>This will display all of the logs in the journal. You can also filter the logs by using options like </span><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>-p</span><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'> (priority) and </span><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>-u</span><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'> (unit). For example, to view only the logs from the syslog unit, you would use the following command:<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>journalctl -u syslog<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:13.2pt;background:white;vertical-align:baseline'><span style='font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E'>You can also specify a start and end time for the logs you want to view. For example, to view the logs from the past hour, you would use the following command:<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>journalctl --since "1 hour ago"</span><span style='font-size:10.0pt;font-family:"var(--ff-mono)",serif;color:#0C0D0E'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Mike-N3bsq<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Dxspider-support <dxspider-support-bounces@tobit.co.uk> <b>On Behalf Of </b>Erik Schott via Dxspider-support<br><b>Sent:</b> Friday, October 11, 2024 6:45 PM<br><b>To:</b> dxspider-support@tobit.co.uk<br><b>Cc:</b> Erik Schott <fhaschott@gmail.com><br><b>Subject:</b> [Dxspider-support] Crontab running ?<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Courier New"'>Dear all,</span><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>Is there a way how I can check that cronjobs are running ?</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>In this case when I checked the Kepler sets (sh/sat), I get the following:</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p style='margin:0in;font-stretch: 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-size:8.5pt;font-family:"Courier New"'>Satellites available/Age of Keps (days):-</span><span style='font-size:8.5pt'><o:p></o:p></span></p><p style='margin:0in;font-stretch: 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-size:8.5pt;font-family:"Courier New"'> AO-07: 6827 AO-10: 6828</span><span style='font-size:8.5pt'><o:p></o:p></span></p><p style='margin:0in;font-stretch: 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-size:8.5pt;font-family:"Courier New"'> AO-16: 6827 AO-27: 6827</span><span style='font-size:8.5pt'><o:p></o:p></span></p><p style='margin:0in;font-stretch: 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-size:8.5pt;font-family:"Courier New"'> AO-40: 6826 AO-51: 6826</span><span style='font-size:8.5pt'><o:p></o:p></span></p><p style='margin:0in;font-stretch: 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-size:8.5pt;font-family:"Courier New"'> FENGYUN1: 6826 FO-29: 6827</span><span style='font-size:8.5pt'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><br><br></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>If I read it correct, there are very old datasets but I may be wrong.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><br><br></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>I found a cronjob for updating the keppler sets and put it in the crontab</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><br><br></span><o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-family:"Courier New"'># AutoUpdate Keps (At 02:00 on Tuesday, Thursday, and Saturday)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>0 2 * * 2,4,6 spawn("cd /tmp | wget -qN <a href="http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt">http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt</a> & /spider/perl/convkeps.pl -p nasabare.txt &")<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>5 2 * * 2,4,6 run_cmd("load/keps")<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>10 2 * * 2,4,6 spawn("rm /tmp/nasabare.txt")<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>How do I know or can I check that the job has successfully completed. (Thursday has passed with the cronjob active)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>I tried to do the commands one by one but then I get an error.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>I can’t find the cron log, something strange going on with logs and Debian 12.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><b><span style='font-family:"Courier New";color:#2FB41D'><br><br></span></b><span style='font-family:"Courier New"'><o:p></o:p></span></p></div><div><p class=MsoNormal><b><span style='font-family:"Courier New";color:#2FB41D'>sysop@hamradio</span></b><span style='font-family:"Courier New"'>:<b><span style='color:#400BD9'>/tmp</span></b>$ <b><span style='color:#400BD9'>~</span></b>$ wget -qN <a href="http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt">http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt</a><o:p></o:p></span></p></div><div><p style='margin:0in;font-stretch: 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'><b><span style='font-family:"Courier New";color:#2FB41D'>sysop@hamradio</span></b><span style='font-family:"Courier New"'>:<b><span style='color:#400BD9'>/tmp</span></b>$ /home/sysop/spider/perl/convkeps.pl -p nasabare.txt<o:p></o:p></span></p><p style='margin:0in;font-stretch: 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-family:"Courier New"'>120 keps converted<o:p></o:p></span></p><p style='margin:0in;font-stretch: 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'><b><span style='font-family:"Courier New";color:#2FB41D'>sysop@hamradio:</span></b><b><span style='font-family:"Courier New";color:#400BD9'>/tmp</span></b><span style='font-family:"Courier New"'>$ /home/sysop/spider/cmd/load/kepspl<o:p></o:p></span></p><p style='margin:0in;font-stretch: 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-family:"Courier New"'>/home/sysop/spider/cmd/load/keps.pl: line 4: syntax error near unexpected token `$self,'<o:p></o:p></span></p><p style='margin:0in;font-stretch: 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-family:"Courier New"'>/home/sysop/spider/cmd/load/keps.pl: line 4: `my ($self, $line) = @_;'<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>Code keps.pl<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><br><br><o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-family:"Courier New"'>#<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'># load the the keps file after changing it<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>#<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>my ($self, $line) = @_;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>return (1, $self->msg('e5')) if $self->priv < 5;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>if ($line =~ /^(\d+)$/) {<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>my $msgno = $1;<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>my $mref = DXMsg::get($msgno);<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>return (1, $self->msg('m4', $msgno)) unless $mref;<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>return (1, $self->msg('sat5')) unless $mref->subject =~ /\b\d{3,6}\.AMSAT\b/i;<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>my $fn = DXMsg::filename($msgno);<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>my $fh = new IO::File "$main::root/perl/convkeps.pl $fn |";<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>my @in = <$fh>;<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>$fh->close;<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-tab-span><span style='font-family:"Courier New"'> </span></span><span style='font-family:"Courier New"'>return (1, @in) if @in;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>my @out = Sun::load($self);<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>@out = ($self->msg('ok')) if !@out;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>return (1, @out); <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>Server: <span class=apple-tab-span> </span>dxcluster.pa0esh.nl<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>OS:<span class=apple-tab-span> </span>Debian 12<o:p></o:p></span></p></div><div><p style='margin:0in;font-stretch: 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-size:8.5pt;font-family:"Courier New"'>Software<span class=apple-tab-span> </span> DXSpider V1.57 build 547<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><br><br></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>Thanks in advance for some guidance…</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><br><br></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>Erik, </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>PA0ESH</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /><table style="border-top: 1px solid #D3D4DE;"><tr><td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"/></a></td><td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free.<a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a></td></tr></table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body></html>