[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cron.daily runs at different times?



Edward E. Benninghove <Ed@xxxxxxxxxxxxxxxxx> wrote:
>     I'm having an occurrence of cron.daily being run at times from 12:30 AM
> to 12:00 PM, it's never consistent.  The reason this is an issue to me I
> wrote a daily logging program that e-mails all of my customers their
> visitors, hits, megs transferred, page accesses, referers and browsers.  I'd
> like to get it as close as possible to the same daily runtime.  Suggestions?

Check /var/log/cron to see if the log entries tell you anything useful.  I don't know
why this would happen, unless something is wrong with the clock.  In any case it's
probably a better idea to use crontab to create a crontab entry for your root or
admin user than it is to drop scripts into /etc/cron.daily.  "man crontab" or search
google.com for crontab for more info.  You can use crontab to run scripts at specific
times - every Thursday at exactly 11:03 am and 7:16 pm for example.

Steven Werby {steven-lists@xxxxxxxxxxxx}