home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2438 
 Sean Rima to Sean Rima 
 Script to create polls 
 17 Jun 21 16:14:32 
 
MSGID: 2:263/1.0 1bd1122a
REPLY: 2:263/1.0 311348ff
TZUTC: 0100
CHARSET: PC-8
> Folks
> Was messing around with my Linux scripts and created a short script to clear
> bad and busy polls and then poll a list of stations. I did it so that instead
> of having to have bom ba/b/c lines, it reads a text file and creates the
> necessary polls. Maybe sucking eggs here.

Ok, was playing a bit more, and sorry to my hosts whom I may have polled 
excessively :) Now if mail exists for a node, it doesn't create additional 
crashmail. so just clears the bad and busy flags

============================================================
#!/bin/bash
# 
date
cat /home/bbbs/polls.txt |  while read output do
    ./bbbs bom b "$output" 0
    ./bbbs bom ba "$output" 0

    if [[ $(/home/bbbs/bbbs bom l $output|grep $output) ]]; then
          echo "EchoMail - Not Adding Crashmail"
    else
        /home/bbbs/bbbs bom c $output +c
    fi
done

============================================================


--- BBBS/Li6 v4.10 Toy-5
 * Origin: TCOB1 at tcob1.duckdns.org BinkP / Telnet (2:263/1)
SEEN-BY: 1/123 10/0 1 14/0 15/0 19/36 90/1 102/401 103/705 105/81
SEEN-BY: 106/201 116/18 120/331 340 123/131 124/5016 128/2 129/305
SEEN-BY: 135/392 153/757 7715 154/10 203/0 214/22 218/0 1 401 410
SEEN-BY: 218/700 720 802 810 840 221/0 222/2 226/30 227/114 229/101
SEEN-BY: 229/424 426 452 550 700 1016 1017 230/150 152 240/1120 5832
SEEN-BY: 249/206 317 250/1 261/38 100 263/1 266/512 267/155 275/100
SEEN-BY: 280/464 5003 282/1038 1056 291/100 111 292/854 8125 301/1
SEEN-BY: 317/3 320/119 219 322/757 340/400 341/66 342/200 396/45 423/120
SEEN-BY: 633/280 640/1321 712/848 770/1 801/161 189 2320/105 2452/250
SEEN-BY: 3634/12 5020/1042
PATH: 263/1 222/2 261/38 218/700 103/705 280/464 229/101 426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca