Displaying 2 results from an estimated 2 matches for "_3gjob".
2006 Jun 07
1
Sending popup message via smbclient to w2k and winxp machines
...ver, when called from within the script nothing is received by the user.
When the equivalent message is sent from the command line, the user receives
the message. The portion of the script that is relevant is below:
----- cut from script -----
#!/usr/bin/sh
:
:
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
----- end of script -----
The last line was added by myself to test that all variables are being
interprete...
2006 Jun 02
0
smbclient -M not working from script
I have a script that is attempting to notify a user that a job has finished
however, when called from within the script nothing is received by the
user.
----- cut from script -----
#!/usr/bin/sh
:
:
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
----- end of script -----
I added the last line to test that all variables are being interpreted, and
exam...