TIP: Click on subject to list as thread! ANSI
echo: bbbs.english
to: KIM HEINO
from: JANIS KRACHT
date: 2016-12-19 10:49:00
subject: How to setup a poll event

>> ===Mailin.sh===
>> #!/bin/sh
>> cd /home/bbbs
>> ./bbbs bogus w &
>> ./bbbs btick &
>> exit

> It's probably better to not run in background.

> Something simple like this will work (crontab with */10):

> #!/bin/sh
> cd /home/bbbs

> # incoming fido
> ./bbbs bogus w > /dev/null 2>&1
> ./bbbs btick > /dev/null 2>&1

> # outgoing fido
> ./bbbs bogus r > /dev/null 2>&1

> # notify node 2 to rescan outbound
> touch work/rescan.2


Good idea, thanks Kim.

Take care,
Janis

--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)

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