LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-14-2007, 04:10 PM   #1
ResOrb
LQ Newbie
 
Registered: Jun 2007
Location: Fayetteville, NC
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Cron running 4 hours late


## Restart DNS Service
15 0 * * * /etc/rc.d/rc.bind restart 1>> /var/named/restart.log


This is an entry in crontab that I believe is supposed to run at 12:15am daily. However, it's not running until 4:15am.

Any ideas on where I should keep looking to try to figure out why it's running late?

Thank You,
-Keith
 
Old 06-14-2007, 05:07 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Use 'crontab'. So:

Code:
crontab -l root
to look at scheduled things for root. Then '-e' to edit. There are also directories in '/etc/cron.*' that match up to the info shown by this command.

Last edited by H_TeXMeX_H; 06-14-2007 at 05:08 PM.
 
Old 06-15-2007, 07:45 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Got your system timezone set properly? Four hours sounds like you're in the eastern time zone (5 hours from UTC, 4 hours "summer" time).

Do a long list (ls -l) of /etc/zoneinfo; it probably should be linked to /usr/share/zoneinfo/US/Eastern (if, of course, you're in the North American easter time zone).
 
  


Reply

Tags
cron



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Question - Delete files in a dir older than 48 hours? t3___ Linux - Newbie 5 10-11-2011 03:42 AM
Server aburptly stops running High CPU usage PERL script after about 5 hours bpmee Linux - Server 3 05-18-2007 11:24 AM
Memtest been running for almost 40 hours, but dones't get past test 7! RHLinuxGUY Linux - Hardware 4 10-10-2004 11:56 PM
Calling a Php file from CRON every hours ? airbuzz *BSD 10 02-03-2004 02:04 PM
Cron/Vixie runs jobrotate 6 hours late SEL Linux - General 0 04-21-2002 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration