Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    MBSE    |    The Linux/FreeBSD MBSE BBS Support Echo    |    2,445 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 405 of 2,445    |
|    Vince Coen to Gert Andersen    |
|    Make mbse post a text file    |
|    14 Oct 12 18:02:39    |
   
   Hello Gert!   
      
   13 Oct 12 10:45, you wrote to me:   
      
    VC>> 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.   
      
   Vince   
      
   --- Linux/Mbse/GoldED+/LNX 1.1.5-b20120229   
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca