[Dxspider-support] Auto updating Keplerian elements.

Peter Hallgarten peterhallgarten at optusnet.com.au
Wed Jul 20 13:09:28 BST 2005


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

  _____  

From: dxspider-support-bounces at dxcluster.org
[mailto:dxspider-support-bounces at dxcluster.org] On Behalf Of George Lloyd
Sent: Wednesday, 20 July 2005 9:19 AM
To: The DXSpider Support list
Subject: Re: [Dxspider-support] Auto updating Keplerian elements.


Has anyone managed to get this to work in RedHat?

I've put it in the crontab /spider/local_cmd file but it does not appear to
do anything. If I run the same commands from the command line it puts a
blank file called amateur.txt  in the perl directory and the full file
amateur.txt in which ever directory I run the command from.

Then if I run the second line from the command line after copying
amateur.txt to the perl directory it sends the Keps.pm to /spider/local.

If I then copy Keps.pm to the perl directory and run load/keps from the
spider console it comes back and says it has completed but it's done
nothing.

I must confess my knowledge of Linux is very limited so I may be doing
something wrong.


73 George G1NNB





     But today I was testing in my computer (for testings,experiments,etc,
with the same Suse 9.2), and I need to put the path of the file to can run
fine, like this:

00 05 * * 1,3,5 spawn("wget http://celestrak.com/NORAD/elements/amateur.txt
>> /spider/perl/amateur.txt")
02 05 * * 1,3,5 spawn("/spider/perl/convkeps.pl /spider/perl/amateur.txt")
02 05 * * 1,3,5 run_cmd("load/keps")
02 05 * * 1,3,5 spawn("rm /spider/perl/amateur.txt") 

    I don't know the reason, In the cluster computer run fine and in my
computer I need the path of the file. I am a novice linux user :(  

    Thaks and sorry for my english.





George Lloyd
www.gb7esx.co.uk
Home of NNA BBS software


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.tobit.co.uk/pipermail/dxspider-support/attachments/20050720/25d78b43/attachment.html


More information about the Dxspider-support mailing list