Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2000 22:12:36 -0700
From:      Brent Kearney <brent@kearneys.ca>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Cc:        rezath@tm.net.my
Subject:   Re: FTP Using Cron in  Freebsd 4.0
Message-ID:  <20000815221236.B3151@kearneys.ca>

next in thread | raw e-mail | index | archive | help
On Tue, Aug 16, 2005 at 12:23:45PM +0800, Rezamys wrote:
> I would like to know is there any possibility that by using Cron one can automatically ftp to another server?
>  
> My idea is:
> a)  Set time; say after every 30 minutes run cron job
> b)  Ftp to another database server (in this case the server runs on solaris 2.6). Directory is /pub
> c)  Extract new data from that d/base server & put it in my Freebie server; say directory /pub/something
> d) Mark a time "tag" on each new data
>  
> If it can be done so, how? 
> Is there any configuration script sample that I can refer or any site that you can point to?  
> 

Check out fetch(1).  It may be your answer if you are connecting to an
anonymous ftpd.  If not, check out the "scp" command (from ssh) in
conjunction with with passwordless ssh-keys. 

-Brent


---------------------------------------------------------------
Brent Kearney
brent@kearneys.ca

"We live in a world in which politics has replaced philosophy."

--Martin L. Gross 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000815221236.B3151>