Thread View: news.software.readers
2 messages
2 total messages
Started by Cornel Stupak
Fri, 17 Oct 2003 20:25
[Hamster] Help plse
Author: Cornel Stupak
Date: Fri, 17 Oct 2003 20:25
Date: Fri, 17 Oct 2003 20:25
12 lines
1464 bytes
1464 bytes
I have a problem with the help file, probably needs reloading. Here is my question: How can I schedule a "newsjob" -threads at a specific interval? Say every 7 minutes, without doing so manually (Online -> ALL-NNTP Servers). Is there a Hamster.ini setting I need to add? TIA, Corny :-( -- Corny S. DEJA VU - 'Been There, Done That'
Re: [Hamster] Help plse
Author: Alan Ford
Date: Fri, 17 Oct 2003 20:49
Date: Fri, 17 Oct 2003 20:49
44 lines
2289 bytes
2289 bytes
Di /venerdรฌ, 17 ottobre 2003/, *Cornel Stupak* ha scritto:
> I have a problem with the help file, probably needs reloading.
> Here is my question:
> How can I schedule a "newsjob" -threads at a specific interval? Say
> every 7 minutes, without doing so manually (Online -> ALL-NNTP
> Servers).
> Is there a Hamster.ini setting I need to add?
No, you must write a script...
An example:
##### AUTO_NEWS
#!hs2
#!load hamster.hsm
### schedule
AtAdd (Check, "00:00", "23:59", "1111111", 7, true)
AtExecute
quit
### subroutine
Sub Check
If (RasIsConnected)
HamMessage (3,0)
HamNewsJobsClear
HamNewsJobsPostDef
HamNewsJobsPullDef
HamNewsJobsStart
HamMessage (3,1)
HamWaitIdle
EndIf
EndSub
quit
##### END
Bye.
--
/ _ _ | Xnews in italiano e Guida ai Menu
( (/( (/ | http://digilander.libero.it/xnews
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