> MESSAGE="$WINNAME, your job $_3GJOB\nhas successfully completed" > echo "$MESSAGE" | /path/to/smbclient -M trout > /dev/null 2>&1 > echo "$MESSAGE\n/path/to/smbclient -M trout >> logfile.txt > > Why isn't the message being sent from within the script?
Is it a redirect issue? What happens if you change the line to: (echo "$MESSAGE" | /path/to/smbclient -M trout) > /dev/null 2>&1 Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba