Bug 220376
Summary: | New /etc/cron.d files not being discovered | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Matt Shields <mshields> |
Component: | crontabs | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-07-31 13:56:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matt Shields
2006-12-20 19:42:07 UTC
Another way I've been able to solve the problem is wait at least 1 minute then run 'touch /etc/cron.d' If you don't like crontab -e, then I recommend work around: vi /var/spool/cron/root I try reproduce and jobs from cron.d didn't work for me at all. I'll look at it. crontab -e is for when you want specific users to have crons. We (as well as most people) prefer to keep system crons in the /etc/cron* directories. (In reply to comment #2) > If you don't like crontab -e, then I recommend work around: > vi /var/spool/cron/root > I try reproduce and jobs from cron.d didn't work for me at all. > I'll look at it. I shouldn't have to wait, go back, touch it. What happens if (like most of my day) I'm extremely busy and forget to go back and touch the file. A very important task may not run. I shouldn't have to worry whether crond picked up the changes, it should just work. (In reply to comment #1) > Another way I've been able to solve the problem is wait at least 1 minute then > run 'touch /etc/cron.d' Can't reproduce bug. Jobs in /etc/cron.d/ are loaded imediatelly, but jobs aren't run. Do you have some options? I have: rpm -q vixie-cron anacron crontabs vixie-cron-4.1-20_EL anacron-2.3-32 crontabs-1.10-7 Which versions do you have? Here's what I'm running rpm -q vixie-cron anacron crontabs vixie-cron-4.1-44.EL4 anacron-2.3-32 crontabs-1.10-7 I fix it for devel. If I'll fix it for RHEL-4, would you mind test it for me? I was investigating about this problem. My jobs won't run, if I forget to type in /etc/crontab or /etc/cron.d/* username. The cron isn't complainig, that's the only problem, which I can avoid. I'm closing this bug for long inactivity. If the problem still persist please reopen this bug. |