Holy shit....are you crazy?
you going to replicate databases!!! not even sure you can do that.
You said website not databases! mysql has replication code in latest
releases....look into that....i would email [EMAIL PROTECTED] before even
attemping something this foolish.



On Thu, 8 Feb 2001, John Mravunac wrote:

> Date: Thu, 8 Feb 2001 11:35:04 +1100
> From: John Mravunac <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: processes don't quit when run with cron job
> 
> Hi,
>  
> I'm hoping you are able to give me some advice. The problem I am having is
> that I need to schedule a cron job to run rsync to replicate a website here
> at work. If I run the job below, every time the job is run,  an rsync and
> ssh2 process are left in the R process state (runnable - on run queue).
> These processes begin to take up much of the memory fairly quickly. But if I
> was to run the rsync at the command line it runs and exits perfectly. Can
> you tell me what I am doing wrong here? :)
>  
> #!/bin/sh
>  
> # Replicating the databases and tables from Inet-aus1 to Inet-usa1
>  
> # 0 * * * *    root    rsync --verbose --progress --stats --compress
> --rsh=/usr/local/bin/ssh2 --recursive --times --perms --links --delete
> --exclude="*.err" --exclude="*.log*" --exclude="*.pid" /usr/local/mysql/var
> 192.168.11.1:/usr/local/mysql > /tmp/output.rsync.mysql
>  
> Thanking you very much for any help you may be able to offer!
> John Mravunac :^)
> 


Reply via email to