Bug 1008109 - cronie runs /etc/cron.daily/* scripts every hour
Summary: cronie runs /etc/cron.daily/* scripts every hour
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cronie
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marcela Mašláňová
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-14 20:12 UTC by Matěj Cepl
Modified: 2013-10-04 09:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-04 09:02:27 UTC
Target Upstream Version:


Attachments (Terms of Use)
/var/log/cron (848.76 KB, text/plain)
2013-09-14 20:12 UTC, Matěj Cepl
no flags Details
/etc/crontab (451 bytes, text/plain)
2013-09-16 10:51 UTC, Matěj Cepl
no flags Details
/etc/anacrontab (541 bytes, text/plain)
2013-09-16 10:52 UTC, Matěj Cepl
no flags Details

Description Matěj Cepl 2013-09-14 20:12:44 UTC
Created attachment 797712 [details]
/var/log/cron

Description of problem:
I don't understand what's the problem, but looking at the attached /var/log/cron it seems cron.daily tasks are run every hour. I have first noticed it with logwatch, but after looking through the log it seems ALL tasks where run that often.

Version-Release number of selected component (if applicable):
cronie-1.4.11-3.el7.x86_64

How reproducible:
happens here

Steps to Reproduce:
1.put a script to /etc/cron.daily (or install a package which does so)
2.
3.

Actual results:
script is run every hour

Expected results:
it should be run only once a day

Additional info:

Comment 2 Marcela Mašláňová 2013-09-16 09:40:33 UTC
Could you show me also your /etc/crontab and /etc/anacrontab? I guess I would have to see this bug report more often if it is happening to all users.

Comment 3 Matěj Cepl 2013-09-16 10:51:34 UTC
Created attachment 798220 [details]
/etc/crontab

That's empty

Comment 4 Matěj Cepl 2013-09-16 10:52:47 UTC
Created attachment 798221 [details]
/etc/anacrontab

See also

matej@wycliff: ~$ rpm -Vf /etc/anacrontab
matej@wycliff: ~$ rpm -Vf /etc/crontab
matej@wycliff: ~$

Comment 5 Matěj Cepl 2013-09-26 11:52:08 UTC
matej@wycliff: bundle (master +)$ ls -l /etc/cron.hourly/
total 16
-rwxr-xr-x. 1 root root 392 Sep 13 14:14 0anacron
-rwxr-xr-x. 1 root root 362 Sep  9 06:51 0yum-hourly.cron
-rwxr-xr-x. 1 root root  69 Feb  3  2013 fetchnews
-rw-r--r--. 1 root root  99 Sep  6 12:19 leafnode
matej@wycliff: bundle (master +)$

Comment 6 Matěj Cepl 2013-09-26 11:54:06 UTC
matej@wycliff: bundle (master +)$ ls -l /var/spool/anacron/
total 12
-rw-------. 1 root root 9 Sep 26 03:37 cron.daily
-rw-------. 1 root root 9 Sep 20 03:04 cron.monthly
-rw-------. 1 root root 9 Sep 20 03:56 cron.weekly
matej@wycliff: bundle (master +)$

Comment 7 Matěj Cepl 2013-10-04 09:02:27 UTC
Hmm, this somehow got fixed. I don't see it anymore with
cronie-anacron-1.4.11-4.el7.x86_64
cronie-1.4.11-4.el7.x86_64

(or something got fixed in systemd-207-2.el7.x86_64?)


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