TIP: Click on subject to list as thread! ANSI
echo: bbbs.english
to: TONY COMANDINI
from: JEFF SMITH
date: 2016-12-19 09:03:00
subject: How to setup a poll event

Hello Tony,

> Thank you Jeff, so if I well understand you don't use the internal event of
> BBBS. So in essence you call different scripts by crontab. Do you have a 
> scrip to poll your nodes?

An example script might be:

#======Start Script======
#!/bin/sh
#BBBSPERL=/usr/bin/perl

# Change to working directory
cd /home/bbbs

#Execute poll command
/home/bbbs/bbbs bom create 1:261/38 +crash

#Touch BBBS rescan semaphore file
touch /home/bbbs/work/rescan.1

#Update poll log to show poll was made (All one command, No wordwrap)
echo "1:261/38 (Janis Kracht) System Poll Successful: $(date)" >>
/home/bbbs/logs/bbbs-poll.log
#======End Script=======

More could be done here but this is a basic script to poll. I have a  BBBS
semaphore file that is touched if mail/files are received as a result 
of the poll.

Jeff




--- BBBS/Li6 v4.10 Toy-3
* Origin: The OuijaBoard - Anoka, MN (1:282/1031)

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