Re: Mailman RSS
dvanhorn <[email protected]> Thu, 02 Jun 2005 10:46:57 -0400
| Newsgroups | gmane.org.ballistichelmet.devel |
|---|---|
| Message-ID | <[email protected]> |
Jon S wrote:
> Move to my dreamhost account.
Oy. This seems like another way of perpetuating our always-broke steeze,
which is endearing, but not all that great as far as steezes go.
Can we just do this instead:
#!/home/bh/local/bin/mzscheme -r
(require (lib "process.ss"))
(let loop ()
(system "mmrss")
(sleep (* 60 60))
(loop))
This gives us hourly RSS updates. Sure it's not real time; for that we need
mailman on the your.bh box to fire up a program each time a message is
received that will log into the phpwh box and run mmrss. I think this is
possible, using ssh keys like Aaron suggested, but I don't have the time to
look into it.
The above file is in ~/local/bin/mmrsshourly, and was started with:
nohup mmrsshourly >& /dev/null &
PID: 17111
We should watch that for a while and make sure it's not eating memory. It
shouldn't be---that's a tail recursive function---but you never know.
The other drawback of this approach is we have to restart the process whenever
phpwh is restarted, but so what.
David