Здравствуйте Oleg
  В сообщении от 15 апреля 2011 Oleg написал(a):
> /usr/local/bin/sendEmail -f [email protected] -t [email protected]
> -u "R backup - ERROR" -o message-charset=UTF-8 -m "ERROR"

Вместо  /usr/local/bin/sendEmail кладу скрипт:

#!/bin/bash
echo args= $*

Вызываю из скрипта
....
test='/usr/local/bin/sendEmail -f [email protected] -t 
[email protected] -u "R backup - ERROR"
$test
....

Получаю

./ss.dh
args= -f [email protected] -t [email protected] -u "R backup - 
ERROR" -o message-charset=UTF-8 -m "ERROR"

Всё работает.





-- 
  А ещё говорят так  (fortune):
 
Without ice cream life and fame are meaningless. 
________________________________________________________________________
С уважением Хихин Руслан

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Sysadmins mailing list
[email protected]
https://lists.altlinux.org/mailman/listinfo/sysadmins

Ответить