>Is there a way to add a line to the script which will automatically reload the html outout say every 5 minutes? I have tried adding this line to writeHead() {
Line should be as follows:
Code:
echo '<META HTTP-EQUIV="REFRESH" CONTENT="300;URL=status.html">'
>And another minor thing, the Uptime shows "Uptime: 21days, ". Shouldn't it be 21 days, hour?
>And the second column displays "Uptime: 1 (hh:mm) "
Hmm can you upload output somewhere on net? So that i can see what you mean. Sure we can fix if it is a bug
__________________
Vivek Gite
Linux Evangelist

Be proud
RHEL user, and let the world know about your enterprise choices!
Join RedHat user group.

Always use
CODE tags for posting system output and commands!

Do you run a Linux? Let's face it,
you need help