[PLUG] Re: Cricket monitoring with automatic refresh
Wil Cooley
wcooley at nakedape.cc
Thu Sep 9 10:12:01 UTC 2004
On Thu, 2004-09-09 at 03:30 -0700, Russell Senior wrote:
> >>>>> "Russell" == Russell Senior <seniorr at aracnet.com> writes:
>
> Russell> Does anyone know how to tweak Cricket[1] so that the browser
> Russell> refreshes the page every so often (e.g. 5 minutes). I have
> Russell> googled and looked at grapher.cgi but nothing stood up
> Russell> indignantly and slapped me in the face. Pointers/clues?
>
> Russell> Thanks.
>
> Russell> [1] <http://cricket.sourceforge.net/>
>
> Nevermind. 10 minutes of sustained thinking led me to an answer. I
> found the subroutine deceptively named htmlHeader and inserted this:
>
> --- grapher.cgi-orig Wed Mar 13 16:25:06 2002
> +++ grapher.cgi Thu Sep 9 03:23:56 2004
> @@ -1783,6 +1783,8 @@
> }
> print "<meta name=\"generator\" content=\"",
> $h->{'auto-long-version'}, "\">\n";
> + print "<meta http-equiv=\"Refresh\" content=\"300\">\n";
> print "</head>\n";
>
> my($body) = $h->{'body-options'};
You could also try the 'html head' section in cricket-config/Defaults,
so you don't have to hack up executables :)
Wil
--
Wil Cooley wcooley at nakedape.cc
Naked Ape Consulting http://nakedape.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20040909/d1a6b413/attachment.asc>
More information about the PLUG
mailing list