View Single Post
  #13 (permalink)  
Old 06-29-2005, 12:04 AM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Posts: 2,635
Thanks: 11
Thanked 232 Times in 172 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

>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
Reply With Quote