TIP: Click on subject to list as thread! ANSI
echo: binkd
to: MICHAEL DUKELSKY
from: MARK LEWIS
date: 2018-06-19 15:16:00
subject: feature request - kill bi

 On 2018 Jun 19 21:06:48, you wrote to me:

 MD>>> It should not be done in binkd, it is a job for a shell script.

 ml>> that's what he's trying to do but the cron-executed shell script
 ml>> cannot shut down binkd...

 MD> Why? Isn't it possible to kill a process in OS/2?

it is possible but not all methods are clean... besides, it is much easier to
do something like this in a bat or cmd file...


  rem create the binkdrunning semaphore
  rem>binkdrunning.sem
  binkd -C binkd.conf
  del binkdrunning.sem


and then in another script...


  rem create the disk-based binkd semaphore
  rem>killbinkd.sem
  :loop
  iff exist binkdrunning.sem then
    sleep 5
    goto /i loop
  endiff
  del killbinkd.sem
  rem now do our log maint
  dobnklog process %YEAR% %MONTHNUM%


the above would also work in winwhatever as well as a multitasking DOS
environment... no special tools needed or wanted... just plain bat scripting...

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... Apparently you aren't supposed to chug Scotch.
---
* Origin: (1:3634/12.73)

SOURCE: echomail via QWK@docsplace.org

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