[plug] uucp polling question

Luigi Cantoni lui at stm0001.dialix.oz.au
Wed Mar 31 13:21:04 WST 1999


> On Wed, 31 Mar 1999, Luigi Cantoni wrote:
> > Polling of sites via uucp is usually accomplished via
> > a script that is invoked by cron. This is not my problem.
> > My problem arrises in that the scripts supplied with the
> > system will only poll using one list at a time ie
> > it will make a list of sites requiring to be polled and
> > then tries to contact them. It will call up using different
> > modems but what I need is to parallel process ie to use
> > more then one modem at a time.
> 
> So make cron run several copies at once, each with a list containing only 
> one site. Perhaps I do not understand the problem.
> -Greg
Unfortunately I don't control the list. This is dynamicly changed
by the users all the time.
If I say get the list, split it in half and fork exec two copies
each one handling one list and each one using one modem then it all
falls down when a modem fails because half the sites don't get
polled. Then I could check it all and sort it out afterwards etc etc etc

To do it properly does require a bit of work. I can do all that is
needed but I just don't want to reinvent a routine that I am sure
has all be done and working well before.

Thanks for the comment though.

-- 
Thanks Luigi
Luigi Cantoni: lui at stm.com.au       ,-_|\         STM      P.O. Box 863
Voice:  int +61 8 9472 4599  Perth /     \ Sydney South Perth  WA  6151
Fax:    int +61 8 9472 4533      ->*_,-._*<-  ,   11/4 Brodie Hall Drive
Mobile: int +61 4 1375 0767             v    /    Tech Park Bentley WA 6102


More information about the plug mailing list