Koozali.org: home of the SME Server

realtime maillog webpage

Dean Mumby

realtime maillog webpage
« on: March 11, 2002, 10:22:38 AM »
Hi

I am trying to setup a dynamic webpage that my clients can look at on their intranet which will show them realtime info on their maillog . My initial idea was to echo a tail -100  /var/log/maillog | grep pop.xxx.xx > into a page in an ibay and have them look at that, the only problem is that they would have to keep clicking refresh to see any changes. Now I am wondering if it possible to use a frames page and some sort of script to autorefresh the page ??

Anyone have any ideas ?

I dont want to give anyoone access to the server manager i just want to stop the endless phonecalls when their mail is a little late because someone is recieving 3 meg emails.

Thanks
Dean

Chris

Re: realtime maillog webpage
« Reply #1 on: March 11, 2002, 09:00:50 PM »
Seems like you could just add a metarefresh to the page and have it redirect to itself every x seconds.