Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45102 - [cronie] crond doesn't run scripts in /etc/cron.weekly/

Attached to Project: Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Tuesday, 26 May 2015, 23:45 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 01 June 2015, 16:12 GMT
Task Type Support Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm not sure if this is a bug yet so I didn't mark it as so.
Unless I am doing something wrong, I think crond isn't running scripts in /etc/crond.weekly/

I compared to debian and fedora cronie packages.

Debian has /etc/cron.d/dailyjobs
# Run the daily, weekly, and monthly jobs if cronie-anacron is not installed
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# run-parts
02 4 * * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.daily
22 4 * * 0 root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.weekly
42 4 1 * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.monthly


and Fedora has /etc/crontab
# /etc/crontab: system-wide crontab
# See crontab(5)

# Set PATH to system default
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#

Arch doesn't have something of the sort and is possibly not running scripts from /etc/cron.weekly
I could be missing something of course.
Thank you.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 01 June 2015, 16:12 GMT
Reason for closing:  None
Additional comments about closing:  Requested by reporter.
Comment by Karol Błażewicz (karol) - Wednesday, 27 May 2015, 00:17 GMT Comment by Hussam Al-Tayeb (hussam) - Wednesday, 27 May 2015, 00:22 GMT
Thank you. I already checked the wiki.
As I may still be missing something, I will post in forums.
Thank you again.

Loading...