Do any one of the mbse user could make mbmsg to get luck to post a
text file to a echo.
I have tried if i could get and make mbnsg post a
text file to the netmail for to make it as a auto posting but only I
got was error on the posting.
Do any one of the mbse user could make mbmsg to get luck to post a
text file to a echo.
Yep; netmails (used for things like netmail to another systems
Areafix) and echomail (automated postings).
I have tried if i could get and make mbnsg post a
text file to the netmail for to make it as a auto posting but only I
got was error on the posting.
What error, on which version of MBSE?
What error, on which version of MBSE?
I am just out for could post a text file to my fido uplink in netmail
by a script file so it create a netmail 1 or 2 times monthly,
mbmsg post "aka + name" 0 "Hello" /opt/mbse/hello.txt ...
So I then ask for the real command line there is work,
What error, on which version of MBSE?
I am just out for could post a text file to my fido uplink in netmail
by a script file so it create a netmail 1 or 2 times monthly,
mbmsg post "aka + name" 0 "Hello" /opt/mbse/hello.txt ...
So I then ask for the real command line there is work,
This is an example from a script I use to post an Areafix request to
my
uplink:
-----<snip>------------------------------------------------
TO="Areafix@f544.n120.z1.fidonet.org"
SUBJ=PassWord
TXTMSG=$VARDIR/f544/msg.txt
$BINDIR/mbmsg post $TO 2 $SUBJ $TXTMSG cp
-----<snip>------------------------------------------------
"2" is the area number.
I could try to make my script file simular this and try it out and if
my fido netmail not is moving from its number should it be 4.
-------<snip>-------
TO="Benny_Pedersen@f0.m230.z2.fidonet.org"
SUBJ=Hello
TXTMSG=$VARDIR/f0/hello.txt
$BINDIR/mbmsg post $TO 4 $SUBJ $TXTMSG pvt
-------<snip>--------
30 Sep 12 10:17, you wrote to me:
I could try to make my script file simular this and try it out and if
my fido netmail not is moving from its number should it be 4.
After changing that "pvt" to just "p", that should work...
-------<snip>-------
TO="Benny_Pedersen@f0.m230.z2.fidonet.org"
SUBJ=Hello
TXTMSG=$VARDIR/f0/hello.txt
$BINDIR/mbmsg post $TO 4 $SUBJ $TXTMSG pvt
-------<snip>--------
Don't forget that the last parameter for that command should be
either
letters (in your example, it should be "p") or a dash ("-").
Gert,
30 Sep 12 10:17, you wrote to me:
I could try to make my script file simular this and try it out and if
my fido netmail not is moving from its number should it be 4.
After changing that "pvt" to just "p", that should work...
-------<snip>-------
TO="Benny_Pedersen@f0.m230.z2.fidonet.org"
SUBJ=Hello
TXTMSG=$VARDIR/f0/hello.txt
$BINDIR/mbmsg post $TO 4 $SUBJ $TXTMSG pvt
-------<snip>--------
Don't forget that the last parameter for that command should be
either
letters (in your example, it should be "p") or a dash ("-").
Hello All!
Do any one of the mbse user could make mbmsg to get luck to post a
text file to a echo. I have tried if i could get and make mbnsg post a
text file to the netmail for to make it as a auto posting but only I
got was error on the posting.
Do any one of the mbse user could make mbmsg to get luck to post a
text file to a echo. I have tried if i could get and make mbnsg post a
text file to the netmail for to make it as a auto posting but only I
got was error on the posting.
The sysop (but not a bbs user) can post using mbmsg, I use the same for
my
monthly rules and stats here and
that is done via a cron job.
Need to see the details?
Do any one of the mbse user could make mbmsg to get luck to post a
text file to a echo. I have tried if i could get and make mbnsg
post a text file to the netmail for to make it as a auto posting
but only I got was error on the posting.
The sysop (but not a bbs user) can post using mbmsg, I use the
same for my monthly rules and stats here and that is done via a
cron job.
Need to see the details?
I got it to work by run manually script file but the crontab runs test
say it not can find mbmsg or run mbmsg, so may I shall try to use the
same commands as mbout is running or take some commands from the /opt/etc/maint file so mbse and the linux know where and how to run
mbmsg. Like $MBSE_ROOT/bin/mbmsgs post ......... (rest of the mbmsg commands).
Do any one of the mbse user could make mbmsg to get luck to post a
text file to a echo. I have tried if i could get and make mbnsg
post a text file to the netmail for to make it as a auto posting
but only I got was error on the posting.
The sysop (but not a bbs user) can post using mbmsg, I use the
same for my monthly rules and stats here and that is done via a
cron job.
Need to see the details?
I got it to work by run manually script file but the crontab runs test
say it not can find mbmsg or run mbmsg, so may I shall try to use the
same commands as mbout is running or take some commands from the
/opt/etc/maint file so mbse and the linux know where and how to run
mbmsg. Like $MBSE_ROOT/bin/mbmsgs post ......... (rest of the mbmsg
commands).
Have you checked your paths and others eg, set | less ?
Like $MBSE_ROOT/bin/mbmsgs post ......... (rest of the mbmsg commands).
* Forwarded from area 'MBSE'
Gert,
12 Oct 12 23:58, Vince Coen wrote to you:
Like $MBSE_ROOT/bin/mbmsgs post ......... (rest of the mbmsg commands).
And along with what Vince asked; is that "$MBSE_ROOT" actually set
correctly in the script? There are multiple ways to ensure that is
done, but it does need be there...
Have you checked your paths and others eg, set | less ?
Yes that have I done and it is only while the crontab shall run the
scripts the problem comes and if I run the script file manually is
there no problem.
Have you checked your paths and others eg, set | less ?
Yes that have I done and it is only while the crontab shall run the
scripts the problem comes and if I run the script file manually is
there no problem.
OK, I think I see the problem, let me look at my setup .....
Look at your etc/monthly script and see if it looks similar to mine:
--------------------------
#!/bin/sh
#
# MBSE BBS Monthly - Should be run at the first of the month at 00:10
#
# $Id: monthly,v 1.3 2004/06/01 19:33:28 mbse Exp $
MBSE_ROOT=/opt/mbse;export MBSE_ROOT
if [ "$MBSE_ROOT" = "" ]; then
export MBSE_ROOT=`cat /etc/passwd | grep mbse: | awk -F ':' '{ print
$6}'`
fi
#if [ "`id -un`" != "mbse" ] ; then
# echo "Must be run by user 'mbse'"
# exit 1
#fi
# While the system is on UPS battery power, don't start maintenance
#
while [ -f $MBSE_ROOT/var/sema/upsalarm ]; do
sleep 60
done
$MBSE_ROOT/bin/mbfido notify -quiet
$MBSE_ROOT/tmp/runturqstat.sh
--------------------------
It's the last two lines.
This is forcing the programs to run under the settings for $MBSE_ROOT
Otherwise the programs will fail.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,020 |
Nodes: | 17 (0 / 17) |
Uptime: | 11:17:28 |
Calls: | 503,343 |
Calls today: | 2 |
Files: | 107,150 |
D/L today: |
21,553 files (1,530M bytes) |
Messages: | 441,647 |