Subj : Re: still not tossing
To   : Rick Smith
From : Wilfred van Velzen
Date : Sun Jan 08 2023 12:50 pm

Hi Rick,

On 2023-01-07 19:45:08, you wrote to All:

RS> This is getting strange, I am sure it is something I am just
RS> overlooking
RS> Ive know tried adding /mystic /fido/etc to the path and changed my script
RS> to be;

RS> rick@abacus:~$ cat /usr/local/bin/mail-toss.sh
RS> #!/bin/bash
RS> echo "processsing" > /tmp/test.txt
RS> echo "PATH = $PATH";
RS> echo "SHELL = $SHELL";
RS> /usr/local/bin/hpt toss

Try this:

#!/bin/bash
{
 echo "processsing"
 echo "PATH = $PATH";
 echo "SHELL = $SHELL";
 /usr/local/bin/hpt toss

} >/tmp/test.txt 2>&1

So you can see everything that is written to stdout and stderr


Bye, Wilfred.

--- FMail-lnx64 2.1.5.1-B20230107
* Origin: FMail development HQ (2:280/464)