[TAG] Cron Jobs not being run

Thomas Adam thomas at edulinux.homeunix.org
Mon Mar 14 23:14:03 MSK 2005


On Mon, Mar 14, 2005 at 02:37:04PM -0500, Suramya Tomar wrote:
> Hi Everyone,
> I have a really funny problem with my Debian Box. I have a script
> which recreates the stats for my website and I want to run it every
> hour so I put it in the /etc/cron.hourly directory. For some reason
> the script refuses to run and I don't get any errors or anything. The
> same script was running on a Slackware box earlier.

Permissions?  Should be 755.

> My Entry in crontab:
>
> 15 * * * * root /etc/awstats/stats_update

This is a bad idea.  As I have pointed out in the past to people, having
the time *exactly* on the hour (or intervals such that it is run on the
hour) can cause clock skews, if one controls their time via ntpd, say.
The result is such that the cron job may not run at all.

Check your logs again...

-- Thomas Adam

--  
"One of us is a cigar stand, and one of us is a lovely blue incandescent
guillotine" -- Stephen Malkmus, "Type Slowly" from "Brighten The Corners"




More information about the TAG mailing list