Subj : Make mbse post a text file
To   : Rj Clay
From : Gert Andersen
Date : Tue Oct 02 2012 10:36 am

Hello Rj!

Sun Sep 30 2012, Rj Clay wrote to Gert Andersen:

RC>Gert,

RC>30 Sep 12 10:17, you wrote to me:
GA>> I could try to make my script file simular this and try it out and if
GA>> my fido netmail not is moving from its number should it be 4.

RC>   After changing that "pvt" to just "p", that should work...


GA>> -------<snip>-------
GA>> TO="[email protected]"
GA>> SUBJ=Hello
GA>> TXTMSG=$VARDIR/f0/hello.txt

GA>> $BINDIR/mbmsg post $TO 4 $SUBJ $TXTMSG pvt
GA>> -------<snip>--------

RC>    Don't forget that the last parameter for that command should be
RC>either
RC>letters (in your example, it should be "p") or a dash ("-").

Then if it shall work by cron and crontab has there too to be some export
command for mbse_root else can the cron not found out of use mbmsg command.
This can then be in crontab or in the script file. It can be taken from mbse
maint files from /opt/mbse/etc/.


 Take care,
           Gert

     - Get the best with linux -

--- Msged/LNX 6.2.0 (Linux/2.6.39-gentoo-r1 (x86_64))
* Origin: * One bird in hand is better than 10 on the roof * (2:230/150)