in reply to How to send file between different server?
If you have your ssh identities set up correctly the above should work if you add it to the crontab, it will check for the existance of the file then put it where you want on the second server, all without modifying the CGI.$file = `ls location/of/file/the/cgi/outputs`; if ($file eq "the expected file location") { `scp $file user@server:location`; }
|
|---|