[Dxspider-support] Auto updating Keplerian elements.
Dirk Koopman
djk at tobit.co.uk
Thu Jul 21 11:51:56 BST 2005
Have you checked that it works manually from the command line and do you
get some output that looks rather like the example below?
[spider at nnb] $ wget -N http://celestrak.com/NORAD/elements/amateur.txt
--11:49:07-- http://celestrak.com/NORAD/elements/amateur.txt
=> `amateur.txt'
Resolving celestrak.com... 65.89.176.14
Connecting to celestrak.com[65.89.176.14]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,712 [text/plain]
100%[====================================>] 5,712 --.--K/s
11:49:07 (51.46 KB/s) - `amateur.txt' saved [5,712/5,712]
Dirk
On Thu, 2005-07-21 at 09:16 +0100, George Lloyd wrote:
> It must be me because I can't get it to work. When the time comes
> round the script runs and spider says doing cron wget -N
> http://celestrak.com/NORAD/elements/amateur.txt but does nothing. Does
> not try to connect at all.
>
> 73 George G1NNB
>
> At 13:09 20/07/2005, you wrote:
> > I run redhat FC4 and use the following
> >
> > # Reload Keps
> > #00 05 * * 1,3,5 spawn("wget -N
> > http://celestrak.com/NORAD/elements/amateur.txt$
> > #02 05 * * 1,3,5 spawn("/spider/perl/convkeps.pl amateur.txt")
> > #02 05 * * 1,3,5 run_cmd("load/keps")
> > #02 05 * * 1,3,5 spawn("rm /spider/perl/amateur.txt")
> > #
> > 00 05 * * * spawn("wget -N
> > http://celestrak.com/NORAD/elements/amateur.txt")
> > 02 05 * * * spawn("/spider/perl/convkeps.pl amateur.txt")
> > 02 05 * * * run_cmd("load/keps")
> > #
> > The -N means the file is checked but noit tranfered unless changed.
> >
> > I dont delete the file like the origional.
> >
> > Peter
> >
>
> George Lloyd
> www.gb7esx.co.uk
> Home of NNA BBS software
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://www.tobit.co.uk/mailman/listinfo/dxspider-support
--
Dirk Koopman <djk at tobit.co.uk>
More information about the Dxspider-support
mailing list