Re: [ifmail-users] Advice on running ifnews "nicely"
Brought to you by:
crosser
From: Jim H. <ifm...@ma...> - 2002-01-15 16:32:40
|
On 14 Jan 2002, Jim Holland wrote: > I looked at where ifnews was being run from and found (I would be lying if > I said that I remembered!) that it was set up in the newsfeeds file, so > edited entries such as: > > :Tp,Wf:/usr/lib/ifmail/ifnews -n -gn p98.f1.n7211.z5 <%s I have now edited the lines so that each entry starts at a progressively later time, by prefacing the entries with a "sleep" command, eg from: p1.f1.n7211.z5:!*,\ mango.accounts,\ mango.mail,\ mango.members\ :Tp,Wf:sleep 0; /usr/lib/ifmail/ifnews -n -gn p1.f1.n7211.z5 <%s for point 1 through to: p2908.f1.n7211.z5:!*,\ mango.internet\ :Tp,Wf:sleep 873; /usr/lib/ifmail/ifnews -n -gn p2908.f1.n7211.z5 <%s for our last user. The value of the sleep parameter is variable, with the newsfeeds file being generated by a script that can increment the parameter by whatever interval is specified. Finally the load caused by echomail is down to an acceptable level! Regards Jim Holland MANGO System Administrator |