cron-job / refresh statistics

alphaxs

Verified User
Joined
Sep 12, 2004
Messages
12
Location
Brummen
Hi there,

we'll first question for me around here.. looks pretty stupid also.. but yeah.. sorry...

We'll this is the problem, i'd wanted to let the statistics (webalizer) refresh every 4 hours.. but... noow i did included this line in my crontab configuration file (/etc/crontab)

10 */4 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

But now it doesnt refresh within 3 hours..??? :confused:

It still says that the last update was from 00:32 last night, and i changed te configuration file for about 5 hours ago...

ohw yeah i did not ran the command killall -HUP crond (reload the deamon) because it would't work.. so i rebooted the server.. looks fine for me to.

Anyone sees the problem????
 
I've never seen this */4 in a crontab. Perhaps it excist but really ... I never heard of it. I have seen, for example, 0-23/2 for execution every other hour, or alternative 0,2,4,6,8,10,12,14,16,18,20,22.

Like I said, I'm not sure, but this could be a reason.
 
/4 means divided by four.

So */4 would mean "every four".

If it were under hours it would mean every four hours; if it were days it would mean every four days.

Jeff
 
Back
Top