Paulg
01-20-2002, 01:43 PM
Hi,
Could someone please tell me what controls the time jobs are run in the cron.daily section.
The reason i ask is that my logrotate and webalizer scripts are running at 12PM instead of AM. The server clock is set to GMT in the control panel.
Thanks
Paul
Mike the newbie
01-20-2002, 02:20 PM
$ less /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
03,18,33,48 * * * * root run-parts /etc/cron.quarter-hourly
04,34 * * * * root run-parts /etc/cron.half-hourly
01 * * * * root run-parts /etc/cron.hourly
05 0,6,12,18 * * * root run-parts /etc/cron.quarter-daily
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
# Monitor services to make sure everything is still okay.
0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1
$
The cron.daily on my RAQ3 runs at 4am or so. Sounds like you might have a timezone issue.
Paulg
01-20-2002, 02:46 PM
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
# Monitor services to make sure everything is still okay.
0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1
This is the crontab from my raq4, it appears to be set for 4am, but things run at 12pm !
Does the raq4 hardware have a different clock to the admin control panel ?
or am i missing something that should be slapping me in the face!!
Paul
Originally posted by Paulg
This is the crontab from my raq4, it appears to be set for 4am, but things run at 12pm !
Login to your server as admin, and run this command:
date
It should show you what time the server thinks it is right now.