[Samba] Sending popup message via smbclient to w2k and winxp
petero at 3g.nec.com.au
Wed Jun 7 02:06:48 GMT 2006
Changing the line makes no difference to what currently occurs.
From: Adam Nielsen [mailto:adam.nielsen at uq.edu.au]
Sent: Wednesday, 7 June 2006 11:33 AM
To: Peter Oram
Cc: samba at lists.samba.org
Subject: Re: [Samba] Sending popup message via smbclient to w2k and winxp
> 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
More information about the samba