[PLUG] Re: Cricket monitoring with automatic refresh
Russell Senior
seniorr at aracnet.com
Thu Sep 9 03:31:02 UTC 2004
>>>>> "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'};
--
Russell Senior ``I have nine fingers; you have ten.''
seniorr at aracnet.com
More information about the PLUG
mailing list