[Dxspider-support] Dxspider-support Digest, Vol 261, Issue 14
Erik Schott
fhaschott at gmail.com
Sat Oct 12 12:02:36 BST 2024
Dear Kin
Thanks very much. Learning all the time. Keplers and USDB are working now
Now looking at the logs to see what else is wrong.
73’s
Erik
PA0ESH
Verzonden via Gmail Mobile
Op za 12 okt 2024 om 13:00 schreef <dxspider-support-request at tobit.co.uk>
> Send Dxspider-support mailing list submissions to
> dxspider-support at tobit.co.uk
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> or, via email, send a message with subject or body 'help' to
> dxspider-support-request at tobit.co.uk
>
> You can reach the person managing the list at
> dxspider-support-owner at tobit.co.uk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Dxspider-support digest..."
> Today's Topics:
>
> 1. Re: Crontab running ? (Kin EA3CV)
>
>
>
> ---------- Forwarded message ----------
> From: Kin EA3CV <ea3cv at cronux.net>
> To: The DXSpider Support list <dxspider-support at tobit.co.uk>
> Cc: Erik Schott <fhaschott at gmail.com>
> Bcc:
> Date: Sat, 12 Oct 2024 09:36:36 +0200
> Subject: Re: [Dxspider-support] Crontab running ?
> Hi Erik,
>
> The problem you have is that keps.pl is an internal dxspider command. You
> have to run it from the console.
> 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>
>
> 73 de Kin EA3CV
>
>
> ------------------------------
> *De:* Dxspider-support <dxspider-support-bounces at tobit.co.uk> en nombre
> de Erik Schott via Dxspider-support <dxspider-support at tobit.co.uk>
> *Enviado:* sábado, octubre 12, 2024 12:45:43 a. m.
> *Para:* dxspider-support at tobit.co.uk <dxspider-support at tobit.co.uk>
> *CC:* Erik Schott <fhaschott at gmail.com>
> *Asunto:* [Dxspider-support] Crontab running ?
>
> Dear all,
>
> Is there a way how I can check that cronjobs are running ?
> In this case when I checked the Kepler sets (sh/sat), I get the following:
>
> Satellites available/Age of Keps (days):-
>
> AO-07: 6827 AO-10: 6828
>
> AO-16: 6827 AO-27: 6827
>
> AO-40: 6826 AO-51: 6826
>
> FENGYUN1: 6826 FO-29: 6827
>
> If I read it correct, there are very old datasets but I may be wrong.
>
> I found a cronjob for updating the keppler sets and put it in the crontab
>
> # AutoUpdate Keps (At 02:00 on Tuesday, Thursday, and Saturday)
> 0 2 * * 2,4,6 spawn("cd /tmp | wget -qN
> http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt &
> /spider/perl/convkepspl -p nasabare.txt &")
> 5 2 * * 2,4,6 run_cmd("load/keps")
> 10 2 * * 2,4,6 spawn("rm /tmp/nasabare.txt")
>
> How do I know or can I check that the job has successfully completed.
> (Thursday has passed with the cronjob active)
> I tried to do the commands one by one but then I get an error.
> I can’t find the cron log, something strange going on with logs and Debian
> 12.
>
>
> *sysop at hamradio*:*/tmp*$ *~*$ wget -qN
> http://www.amsatorg/amsat/ftp/keps/current/nasabare.txt
>
> *sysop at hamradio*:*/tmp*$ /home/sysop/spider/perl/convkeps.pl -p
> nasabare.txt
>
> 120 keps converted
>
> *sysop at hamradio:**/tmp*$ /home/sysop/spider/cmd/load/keps.pl
>
> /home/sysop/spider/cmd/load/keps.pl: line 4: syntax error near unexpected
> token `$self,'
>
> /home/sysop/spider/cmd/load/keps.pl: line 4: `my ($self, $line) = @_;'
>
> Code keps.pl
>
> #
> # load the the keps file after changing it
> #
> my ($self, $line) = @_;
> return (1, $self->msg('e5')) if $self->priv < 5;
>
> if ($line =~ /^(\d+)$/) {
> my $msgno = $1;
> my $mref = DXMsg::get($msgno);
> return (1, $self->msg('m4', $msgno)) unless $mref;
> return (1, $self->msg('sat5')) unless $mref->subject =~
> /\b\d{3,6}\.AMSAT\b/i;
> my $fn = DXMsg::filename($msgno);
> my $fh = new IO::File "$main::root/perl/convkeps.pl $fn |";
> my @in = <$fh>;
> $fh->close;
> return (1, @in) if @in;
> }
> my @out = Sun::load($self);
> @out = ($self->msg('ok')) if !@out;
> return (1, @out);
>
> Server: dxcluster.pa0esh.nl
> OS: Debian 12
>
> Software DXSpider V1.57 build 547
>
> Thanks in advance for some guidance…
>
> Erik,
> PA0ESH
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20241012/fc7c1ab9/attachment.htm>
More information about the Dxspider-support
mailing list