Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2005 16:55:44 +0800
From:      "Rezamys" <rezath@tm.net.my>
To:        "Ertan Kucukoglu" <ertank@ozlerplastik.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: FTP Using Cron in  Freebsd 4.0
Message-ID:  <016401c5a240$49bf2f00$0b1603c8@tmmaster>
References:  <00d101c5a21a$4aa05c80$0b1603c8@tmmaster> <399A4FF5.BA8CCC2F@ozlerplastik.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you.
When you say "pass the address as a command line parameter" you mean that I
need to put it in the cron script? Something like this?:

*/30 * * * * ftp://ftp.abc.com/pub/new_text_data:user@passwd/pub/*
/pub/something

Please comment.
TQ


----- Original Message -----
From: "Ertan Kucukoglu" <ertank@ozlerplastik.com>
To: "Rezamys" <rezath@tm.net.my>
Sent: Wednesday, August 16, 2000 4:25 PM
Subject: Re: FTP Using Cron in Freebsd 4.0


> > Rezamys wrote:
> >
> > Hello All,
> >
> > 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?
> >
> >
> > All advise is much appreciated.
> > TQ
> >
> >
>
> Hi Rezamys,
>
> I suggest you to use greed. You can find it in ports. this program can get
> you what you need. you just pass the address as a command line parameter.
>
> greed ftp://ftp.abc.com/pub/what_you_want.tgz
>
> Above sample should be enough for you. Also you can redirect its output
and
> mail it to you.
>
> Best Regards,
>
> --
> Ertan Kucukoglu
> ertank@ozlerplastik.com
>



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?016401c5a240$49bf2f00$0b1603c8>