On 7/25/07, Mr. Blue <[EMAIL PROTECTED]> wrote:
... php -f chk_tor.php > /dev/null 2>&1 & ... I want output that currently goes in /dev/null, be saved in a variable ($OUTPUT), and then piped to mail function where body=$OUTPUT
this is veering a bit off topic, but the following should work: php -f chk_tor.php 2>&1 | mailx -s "my script output" [EMAIL PROTECTED] if you don't have mailx, mail should work too. best regards,

