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

Hello Tony,

> Fixed the initial (my) configuration problem the next step is automatised
> the polls...I already have the script by Janis but where can I configure
> "poll this node every 30 minutes"(for example).

Using Linux here I setup actions/tasks either to be triggered by a BBBS
semaphore file or by a Linux cron event. To use cron in a terminal window type
"crontab -e". This will open up a simple editor and load your current "User"
crontab file. To run/load a program or script file every minutes  you might use
the command line entries:

# For more information see the manual pages of crontab(5) and cron(8)
#
# m  h  dofm mon dofw          command
* 12 * * Mon,Tue,Wed,Fri,Sat,Sun  home/bbbs/script1.sh
0 0 1 * *       /home/bbbs/script2.sh (Runs 1st day every month at midnight)
*/45 * * * *    /home/bbbs/script3.sh (Runs every 45 minutes)
*/30 * * * *    /home/bbbs/script4.sh (Runs every 30 minutes)
*/15 * * * *    /home/bbbs/script.sh  (Runs every 15 minutes)

Hope this might help.

P.S. -  Running crontab as root can cause permission issues to BBBS owned
files.


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