23 Feb
2006
23 Feb
'06
17:59
daniel parkes wrote:
Hy people,
I have to run a cronjob every 15 seconds, and i have a doubt, does runing a job so quickly overload the machine??, i dont mean if the job that cron runs loads the machine, i mean does cron load the machine by itself each time it runs to look for jobs??
is it a good idea???
A more relevant question would be "is it possible", to which the answer would be "no". cron can only handle minutes, not seconds, so the best you can do through cron is once per minute. If you have to run something every 15 seconds, I think you're looking in the wrong place. If you can explain more what exactly you are trying to do, then perhaps someone can give you a better way of accomplishing it