Cron job every few minutes ??

Vincent Trouilliez vincent.trouilliez at wanadoo.fr
Sun Dec 26 06:58:01 UTC 2004


Le samedi 25 décembre 2004 à 22:13 -0800, Matt Zimmerman a écrit :
> On Sat, Dec 25, 2004 at 09:05:09PM +0100, Vincent Trouilliez wrote:
> 
> > I woud like to log CPU temperature every 5 minutes or so.
> > I know abou the 'cron' daemon that runs dozen of jobs, but looking at
> > directories in /etc/ and the crontab file, it looks as if you can run
> > jobs every month, week, day, hour, but not every xx minutes.
> 
> sensord is a simpler way to accomplish this, and also provides threshold
> warnings and lets you do simple reporting on the data.
> 
> -- 
>  - mdz

Hi Matt,

Well I wanted to do it 'by hand', just to get more hands on experience
(I am extremely new to Linux !), and it works :o)

I has a look at the homepage of that sensord (found a link in synaptic),
it seems like the kind of things I like. However as far as I can gather,
they basically use the I2C bus to poll the LM78 chip. Sadly it seems
that this chip does everything but something I am after (see my other
posts ;o).... control the CPU fan speed.
The user manual of my motherboard says that the BIOS CAN control CPU fan
speed, however this is done only by software, and the program they wrote
is for Windows (surprise surprise... ;-/ ).
So I am after a sweet piece of code under Linux, that could do that,
control the CPU fan speed. Or at least, some detailled technical info
that would allow me to write my own program...if it's not too
complicated ie ;o)

Any idea ??

Regards,

Vince






More information about the ubuntu-users mailing list