Cron job every few minutes ??

Vram lamsokvr at xprt.net
Sat Dec 25 20:42:01 UTC 2004


On Sat, 2004-12-25 at 21:05 +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.
> 
> Am I wrong, can cron be set up to do that ?
> I read the cron an page, and it says that it checks the cron files every
> minutes, so I guess that at least potentially, it is possible.
> 


>From the man page:


 cron  searches its spool area (/var/spool/cron/crontabs) for crontab
files (which are named after accounts in
       /etc/passwd); crontabs found are loaded into memory.  Note that
crontabs in  this  directory  should  not  be
       accessed directly - the crontab command should be used to access
and update them.



HTH

Vram









> If not, then is there another program in Ubuntu that could be used ? Or
> some other program I could get from Synpatic ??
> 
> Thanks...
> 
> 
> Vince
> 
> 
> 
> 
> 





More information about the ubuntu-users mailing list