Bug 4606 - crontab updating erratically
crontab updating erratically
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: crontabs (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Crutcher Dunnavant
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-08-18 23:52 EDT by pcwizard
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-10 18:03:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description pcwizard 1999-08-18 23:52:07 EDT
I have been having a pig of a problem with crontab updating
on a regular basis.  I use a perl script to update my
dynamic IP to a DNS service and it has been setup to update
hourly.  Only problem is that more often than not it does
not update... around 3 out of four times it doesn't, but
that 1 time in four it does... drives me crazy.
Here is the entry I am using in my crontab.
* 0-23 * * * (cd /usr/bin ; ./gdipc.pl )
here is the complete crontab listing:
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
#0
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
* * * root
/usr/bin/gdipc.pl
* 0-23 * * * (cd /usr/bin ; ./gdipc.pl )
The commented out line was an earlier attempt that refused
to work at all... the perl script kept reporting an error
indicating the loss of a configuration file.  The line at
the bottom is the one that replaced it, the error went away,
but updates don't occur on a regular basis.
Comment 1 Bill Nottingham 1999-08-21 16:19:59 EDT
Um, are you sure you want that to run once a *minute*?
Comment 2 Jeff Johnson 1999-08-27 13:51:59 EDT
Perhaps you have apmd running and active. Powering down would
stop the updates. Otherwise, I know of no problems in using cron.

Note You need to log in before you can comment on or make changes to this bug.