[Dxspider-support] Cron job for USDBRAW?

Jan pa4jj at pa4jj.nl
Wed Oct 30 19:10:10 GMT 2013


And where do I put this script? What directory?


Tom schreef op 30-10-2013 14:19:
> On Wednesday, October 30, 2013 03:44:23 am Michael G. Carper wrote:
>> Has anyone created a cron job to pull down the USDBRAW file and extract it
>> monthly?
>>
>>
>>
>> If so, can you share it?
>>
>>
>>
>> Mike, WA9PIE
>
> Mike       here is the way I do it
>
>               tom      wb8zrl
>
>
>
> #!/bin/bash
> #
> # a command shell to load the usdb database.  This requires
> #   obtaining the US data in usdbraw.gz from W1NR.
> #
> #  get usdbraw.gz
> /usr/bin/wget  -o /dev/null -T 120 -P /home/sysop/usdb http://ftp.w1nr.net/usdbraw.gz
> # now gunzip usdb
> /bin/gunzip /home/sysop/usdb/usdbraw.gz
> # now remove the old, and create the new usdb db
> /bin/rm -f /spider/data/usdb.v1
> /usr/bin/perl /spider/perl/create_usdb.pl /home/sysop/usdb/usdbraw >/dev/null
> # now load new usdb
> /bin/echo "load/usdb" >/spider/tmp/wb8zrl
> /bin/mv /spider/tmp/wb8zrl /spider/cmd_import
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>




More information about the Dxspider-support mailing list