[fbb] housekeeping help
Terweij, Danny
Danny.Terweij@vgl.nl
Thu, 4 Jan 2001 14:24:08 -0000
The last line :
:end
echo %1 script is finished.
sleep 2
cd C:\FBB\bin\wfbb.exe
Just delete the cd before c:\fbb\bin\wfbb.exe
Danny.
> -----Oorspronkelijk bericht-----
> Van: dvari [SMTP:dvari@adelphia.net]
> Verzonden: woensdag 3 januari 2001 16:12
> Aan: FBB
> Onderwerp: [fbb] housekeeping help
>
> How come every morning when I go into housekeeping,fbb does not re-boot?
> what do I have set wrong?
> I'm running a 933mHz,win 98s.e. and fbb 7.00g
> de dave
> Here is my runfbb.bat file:
>
> rem
> rem RUNFBB.BAT file (example)
> rem
> rem This file receives as an argument the option asked by RUNFBB.EXE
> rem
> rem This option may be START, STOP, RERUN, MAINT or ERROR.
> rem
> rem Only the part concerning the option will be executed.
> rem
> break off
> rem ---------- This portion is not valid any more ---
> rem You must change this variable according to
> rem the base directory of the installation
> set fbb=C:\FBB
> c:\fbb
> rem -------------------------------------------------
> rem don't forget the "goto end" at the end of each option
> rem switches the option on command line
> goto %1
> :start ********************** START of START script
> ************************
> echo off
> cd C:\FBB
> if not exist C:\FBB\bin\wfbb.new goto end
> copy C:\FBB\bin\wfbb.new C:\FBB\bin\wfbb.exe
> del C:\FBB\bin\wfbb.new
> goto end
> rem *************************** END of START script
> **************************
> :rerun *********************** START of RERUN script
> ************************
> cd C:\FBB
> if not exist C:\FBB\bin\wfbb.new goto end
> copy C:\FBB\bin\wfbb.new C:\FBB\bin\wfbb.exe
> del C:\FBB\bin\wfbb.new
> goto end
> rem **************************** END of RERUN script
> **************************
> :maint ********************** START of MAINT script
> **************************
> cd C:\FBB
> @echo off
> cd C:\FBB\system\sat
> if not exist amsat.txt goto amsatend
> satupdat amsat.txt /n > satupdat.res
> satupdat amsat.txt >> satupdat.res
> del amsat.txt
> :amsatend
> cls
> echo
> cd C:\FBB
> copymsg
> echo Backup of important files...
> copy C:\FBB\system\dirmes.sys C:\FBB\backup\dirmes.s1
> copy C:\FBB\system\inf.sys C:\FBB\backup\inf.s1
> echo Housekeeping in message datbase..
> del epurmess.res
> epurmess
> ------- Next line is ONLY for use with White Pages..:
> Parametres: Number of days before updating, and before deleting
> Default is 40 and 90
> epurwp 40 90
> del C:\FBB\system\wp\wp.old
> cd C:\FBB\system
> clr_user>>C:\FBB\clr_user.res
> MAINTINF 3 /a
> COPY %FBB%\SYSTEM\INF.NEW %FBB%\SYSTEM\INF.SYS
> cd C:\FBB
> del C:\FBB\system\dirmes.new
> del C:\FBB\system\dirmes.old
> if not exist C:\FBB\error.sys goto direct
> echo SP N2RHL >> %FBB%\MAIL.IN
> echo Error-report >> %FBB%\MAIL.IN
> type %FBB%\ERROR.SYS >> %FBB%\MAIL.IN
> echo. >> %FBB%\MAIL.IN
> ECHO /EX >> %FBB%\MAIL.IN
> type %FBB%\ERROR.SYS >> %FBB%\ERROR.LOG
> del %FBB%\ERROR.SYS
> :direct
> goto end
> **************************** END of MAINT script ************************
> :stop ************************* START of STOP script
> *************************
> goto end
> ***************************** END of STOP script *************************
> :error ********************** START of ERROR script
> *************************
> echo WFBB exited with ERRORLEVEL %2
> sleep 5
> goto end
> rem **************************** END of ERROR script
> **************************
> :end
> echo %1 script is finished.
> sleep 2
> cd C:\FBB\bin\wfbb.exe
>
>
>
>
> _______________________________________________
> fbb maillist - fbb@f6fbb.org
> http://www.f6fbb.org/mailman/listinfo/fbb