🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57765

Re: Hamster

#57765
From: Graham Drabble
Date: Sat, 30 Mar 2002 10:18
49 lines
2228 bytes
On 29 Mar 2002 "Danny" <groups@dannytuppeny.com> wrote in
news:hP2p8.13509$Ko1.2279298@news6-win.server.ntlworld.com: 

> Ok, I've got Hamster running, and it works well. But I can't see
> any config about how often it pulls from groups. I don't have to
> press the Pull Now button every time do I?!!

You need a script. I personally use this: (note the first line is 
important. Everything after that begining with a # is a comment.)

#!hs2
AtClear
AtAdd( DoIt, "00:00", "23:59", "1111111", 25, true )
# Run the DoIt sub every 25 minutes all day every day
AtExecute
quit

sub DoIt
var($cnx)
var($fetch)
$cnx = -1
$fetch = -1

if (!RasIsConnected)
    $cnx = HamRasDial("Tiscalli AnyTime")
endif
# Dial up if not already on line
HamWaitIdle
if (RasIsConnected)
HamMailExchange 
# Delete above line if not using the mail server
HamNewsPost 
HamNewsPull 
HamWaitIdle 
endif
#if connection made by script -> disconnect 
#else leave
if ($cnx = 0)
       HamRasHangup
endif
endsub

Have a look in the hamster.en.* groups for more info.
-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.
Technical Details
Message-ID: <Xns91E168D71DEA9grahamdrabblelineone@ID-77355.user.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!ppp-5-204.5800-8.access.uk.worldonline.COM!not-for-mail
References: <hP2p8.13509$Ko1.2279298@news6-win.server.ntlworld.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns91E168D71DEA9grahamdrabblelineone@ID-77355.user.dfncis.de>
Subject: Re: Hamster
Date: Sat, 30 Mar 2002 10:18:37 +0000
From: Graham Drabble <graham.drabble@lineone.net>
References: <hP2p8.13509$Ko1.2279298@news6-win.server.ntlworld.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!ppp-5-204.5800-8.access.uk.worldonline.COM!not-for-mail
Newsgroups: news.software.nntp
Organization: Home
Lines: 48
NNTP-Posting-Host: ppp-5-204.5800-8.access.uk.worldonline.com (62.64.167.204)
X-Trace: fu-berlin.de 1017483517 27149291 62.64.167.204 (16 [77355])
User-Agent: Xnews/5.03.23 Hamster/1.3.23.141