Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2005 12:23:45 +0800
From:      "Rezamys" <rezath@tm.net.my>
To:        <freebsd-questions@freebsd.org>
Subject:   FTP Using Cron in  Freebsd 4.0
Message-ID:  <00d101c5a21a$4aa05c80$0b1603c8@tmmaster>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello All,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I would like to know is there any possibility that 
by using Cron one can automatically ftp to another server?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My idea is:</FONT></DIV>
<DIV><FONT face=Arial size=2>a)&nbsp; Set time; say after every 30 minutes run 
cron job</FONT></DIV>
<DIV><FONT face=Arial size=2>b)&nbsp; Ftp to another database server (in this 
case the server&nbsp;runs on solaris 2.6). Directory is /pub</FONT></DIV>
<DIV><FONT face=Arial size=2>c)&nbsp; Extract new data from that d/base server 
&amp; put it in my Freebie server; say directory /pub/something</FONT></DIV>
<DIV><FONT face=Arial size=2>d) Mark a time "tag" on each new data</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If it can be done so, how? </FONT></DIV>
<DIV><FONT face=Arial size=2>Is there any configuration script sample that I can 
refer or any site that you can point to?&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All advise is much appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2>TQ</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d101c5a21a$4aa05c80$0b1603c8>