i want to write bash file perform the following steps :-
copy file from server1 to server2
if (copy success )
do nothing
if (copy failed )
send e-mail to admin@company.com contain the following information
file name [copy failed]
|
i want to write bash file perform the following steps :- copy file from if (copy success ) do nothing if (copy failed ) send e-mail to file name [copy failed]
| |||
|
feedback
|
|
On server1 --
Requires you have mutt installed. If you don't, get mutt, or replace the mutt portion with a | |||||||||||
feedback
|