LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-04-2006, 04:52 PM   #1
jaxalope
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
crontab Red Hat Enterprise 4 issue


I'm having an issue with crontab in Red Hat Enterprise 4 U2, default packages:

anacron-2.3-32 intstalled but not running
vixie-cron-4.1-36.EL4 installed and running

my crontab entry for the root user is the following:

1 15,19,23 * * * /opt/mydir/bin/supportCheck.pl

just a basic perl script that does system checks, running it isn't the problem. The problem is that cron kicks this off at 14:01, 18:01, and 22:01.

Has anyone seen this issue? I edited crontab with "crontab -e", "crontab -l" displays the crontab file appropriately. I've manually restarted crond service to make sure it took, no change in when the script is run.

Any clues?
 
Old 04-04-2006, 05:18 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,538

Rep: Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675
Welcome to LinuxQuestions.

Is your PC clock set to the correct time? Where do you live? Daylight Saving time did change this past weekend and from what information you posted it looks like it did not automatically change. Have you check the previous logs to see if the problem existed prior 2 April?
 
Old 04-05-2006, 07:58 AM   #3
jaxalope
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I didn't implement this crontab until after Daylight Savings Change. All of my servers are reporting the correct time and timezone (from different timezones, PDT,MDT,CDT,EDT, and BST)...I've checked several times
 
Old 04-05-2006, 08:11 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,538

Rep: Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675
Intresting. Does the cron log indicate 14:01 or 15:01
 
Old 04-05-2006, 09:43 AM   #5
jaxalope
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
The /var/log/cron displays the script was last run at 22:01, then 02:01, and lastly 06:01. They are all 4 hours apart like my crontab of

1 15,19,23 * * * /opt/mydir/bin/supportCheck.pl

but not at the correct times. I wonder if this has something to do with BST timezone, British Summer Time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon 7000 Issue/Red Hat Enterprise V3 dhattman Linux - Hardware 0 01-24-2006 03:22 PM
troubleshooting red hat linux enterprise 4 ES (drive issue?) palmoswince Linux - Newbie 3 10-18-2005 12:58 AM
XFree86 on Red Hat Enterprise Label2021 Red Hat 4 02-11-2005 11:06 PM
Upgrading Red Hat 9 to Red Hat Enterprise Server 3 AS louisb Linux - Software 7 02-23-2004 10:25 PM
Red Hat Enterprise vs. Red Hat Linux Project RedHatMN Linux - Distributions 2 07-29-2003 04:16 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration