dollar vora Posted November 9, 2012 Author Report Posted November 9, 2012 ma gabbar sing post lo ki vachi mi salahalu suchanalu ichinanduku mi dhanyavadamulu mi andari sahakara sahayamulatho na script complete ainadi thnak u v much all
CheGuevara Posted November 9, 2012 Report Posted November 9, 2012 simple mama: first passwordless authentication setup chey for both servers: edi process daniki http://solarisraghav.blogspot.com/2011/01/password-less-login-through-secure.html then use this code in a file called test.sh filename='enter your filename here' /usr/bin/scp -r $filename user@servername:path where you want to copy the file on this server sftp user@servername cd path here ls -ltr $filename exit e script in crontab lo set chey something like this: 30 20 * * * path to the file test.sh >> add path to log file here so that you can check daily ardam avvakapote let me know
dollar vora Posted November 9, 2012 Author Report Posted November 9, 2012 [quote name='CheGuevara' timestamp='1352475382' post='1302769031'] simple mama: first passwordless authentication setup chey for both servers: edi process daniki [url="http://solarisraghav.blogspot.com/2011/01/password-less-login-through-secure.html"]http://solarisraghav...ugh-secure.html[/url] then use this code in a file called test.sh filename='enter your filename here' /usr/bin/scp -r $filename user@servername:path where you want to copy the file on this server sftp user@servername cd path here ls -ltr $filename exit e script in crontab lo set chey something like this: 30 20 * * * path to the file test.sh >> add path to log file here so that you can check daily ardam avvakapote let me know [/quote] thanks mama but anyways diniki cron avasaram ledu it is supposed to be run whenever the app is updated so manual ga run cheskodame and by the way i was able to figure the script already and i am not sure if the passwordless auth is already set but presently my script is done mama thank you
Recommended Posts