TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Sean Dennis
from: mark lewis
date: 2011-02-26 11:09:10
subject: Problems with events run

ML> Chuckle.  So don't forget to erase the flag points on your hard drive
 ML> after you play this cool stunt and they are no longer needed..

 SD> What I may simply do is this: write a quickie Pascal program that
 SD> monitors for the existance of a semaphore then calls up the BBS
 SD> nodes to restart.  It's fairly simple to do.  I just have to do it.
 SD> I did learn a bit though about dealing with Maximus and its events
 SD> file though.

is there not a semaphore that you can write to have MAX simply exit and
then catch that in a loop in the .BAT file?

another thought would be something like what i do with my FD nodes and that
is that they all exit via an event with a specific errorlevel... like my
suggestion above, i catch that and simply loop the .BAT file until another
semaphore is removed...

trying to clarify...

my main node that does the maint exits with an errorlevel and create a
maint.sem semaphore... then it loops until all of the other nodes have
exited and created or removed their "i'm up" semaphore files...
the other nodes then loop until the maint.sem semaphore is removed... when
the main node sees that all the other nodes are down, then it runs the
maint and the last thing done is to remove the maint.sem semaphore before
reloading to the top of the .BAT... all the other nodes jump to the top of
the .BAT for their restart, too...

the problem may be the semaphores and exit errorlevels that you can access
and catch, though...

)\/(ark

* Origin: (1:3634/12)
SEEN-BY: 3/0 633/267 640/954 712/0 313 550 620 848
@PATH: 3634/12 123/500 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.