TIP: Click on subject to list as thread! ANSI
echo: os2rexx
to: All
from: Francois Massonneau
date: 1999-10-11 08:35:04
subject: FrontDoor/Mailser and Rexx

Hello !

This is a question I 've just asked in the FrontDoor echo, but I guess someone 
in this one can help me to succeed in this process, as everything could be
manage by a rexx script.
This is the question :
>------------------------------------------------------------------------------
----------------
I need to run a mail server every 3 and a half hours and I would like :
     - front door to exit, (I use a .BAT file to run frontdoor (2.30mL)).
     - then run the Rexx Script (I 'm using OS/2) that takes care of my mail
server, 
     - wait for the script to complete (sometimes, it takes 3 or 4 minutes,
but sometimes it takes longer).
     - kill all applis that have been launched by the script, and the script
itself, if it takes more that xx minutes (as I'm charged for every minutes on
line, I can't afford to stay connected to my ISP if something goes wrong with
it).
     - then check the com port (I saw that from time to time some problems
occur when the script ended).
     - then restart frontdoor if everything above is ok, else, kill all the
nodes (I run a two nodes BBS), and restart them.

I know there is a program to kill which name is "GO.EXE"(go -k appli.exe) but
I saw that from time to time, when I want to kill an appli (I use it to kill
InetMail, pop3d.exe, smtpd.exe and In-joy.exe), it kill my node 1 (which runs
on my com1, !! (((-: )
I use HSTART to start an OS/2 appli from a dos batch file too.

So the questions : 

1) does someone can help me and show me what are the lines I have to add to my 
batch file that runs that node to do what I need above and secure the whole
process (I have to leave my system on its own for 3 or 4 weeks maybe more
(when you enter in an hospital you don't know when and how you go out ;-( ) ?

2) (deleted as it's off topic with this echo)....../.


>------------------------------------------------------------------------------
----------------

in the next message I'm gonna post the script I use to run this mail server.
I'm sorry it's a long script but many told me to post it in this echo, so I'm
gonna do it, and ask the problems I have with it.

Bye, Francois!


Email: fmas@celtes.com
Web  : http://www.worldnet.net/~island/

---
* Origin: Island's BBS, a Node in the Atlantic Ocean (2:326/2)

SOURCE: echoes via The OS/2 BBS

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™.