Thread View: news.software.nntp
2 messages
2 total messages
Started by Danny
Fri, 29 Mar 2002 18:58
Hamster
Author: Danny
Date: Fri, 29 Mar 2002 18:58
Date: Fri, 29 Mar 2002 18:58
16 lines
1506 bytes
1506 bytes
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?!! I wanted it to do it itself (say every mins, check for new posts, and download them), but there doesn't seem to be an option. How does this work? Also, do I have to seek permission before feeding from groups? Many thanks, Danny Tuppeny
Re: Hamster
Author: Graham Drabble
Date: Sat, 30 Mar 2002 10:18
Date: Sat, 30 Mar 2002 10:18
49 lines
2228 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads