user3363: I have a bitcoin wallet address (the private key is known by other people). I periodically receive payment on this address (and cannot change it/receive to other address).
I need:
When I receive a payment on it, automatically and immediately (at 0 confirmations, like in BlockChain.info wallet) send/forward them to my new wallet address (the private key is known only by me).
Is this possible and how?

user-1: You may use /etc/crontab on your Ubuntu:
* * * * * root /bin/bash /usr/local/bin/bitcoin_resender

And script shall looks like:
$ cat /usr/local/bin/bitcoin_resender
#!/bin/bash
if [ $(echo "$(bitcoind getbalance) > 0" | bc) -eq 1 ];then
      bitcoind sendtoaddress YOUR_NEW_ADDRESS $(bitcoind getbalance) "Comment for resender"
fi

It will check every minutes your bitcoind balance and resend each bitcoins to YOUR_NEW_ADDRESS.
Your probably need to check the fee.

3363: <p>I have a bitcoin wallet address (the private key is known by other people). I periodically receive payment on this address (and cannot change it/receive to other address).</p>

<p>I need:<br>
When I receive a payment on it, automatically and immediately (at 0 confirmations, like in BlockChain.info wallet) send/forward them to my new wallet address (the private key is known only by me).</p>

<p>Is this possible and how?</p>
 -1: <p>You may use /etc/crontab on your Ubuntu:</p>

<pre><code>* * * * * root /bin/bash /usr/local/bin/bitcoin_resender
</code></pre>

<p>And script shall looks like:</p>

<pre><code>$ cat /usr/local/bin/bitcoin_resender
#!/bin/bash
if [ $(echo "$(bitcoind getbalance) &gt; 0" | bc) -eq 1 ];then
      bitcoind sendtoaddress YOUR_NEW_ADDRESS $(bitcoind getbalance) "Comment for resender"
fi
</code></pre>

<p>It will check every minutes your bitcoind balance and resend each bitcoins to YOUR_NEW_ADDRESS.</p>

<p>Your probably need to check the fee.</p>
