what do I have to do, to get the daily graph updated every 5 minutes and aditional an "hourly" graph, updatet every minute?

I'm a noob to Linux, so im proud that I get this runing....but I realy would like to have the "features" mentioned above...

Thx, Astro