Copying Documents from another server

Hi All,

I have two databases on different servers located at different locations.

My requirement is copy mail documents from one Db to another. For that I have written a scheduled agent.This is not working fine. If i ran it manually it is working fine.

Can u kindly give me a solutions/suggestion/possible cause for this?

Many Thanks to U in advance.

-Prasad