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