[Bug 1230285] [NEW] move default time for daily crontab to midnight
Stas
1230285 at bugs.launchpad.net
Wed Sep 25 13:52:33 UTC 2013
Public bug reported:
Hi,
now, default /etc/crontab is
# 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 )
Which is not very good for some cases. Logfiles are rotated by
logrotate in cron.daily, if it runs at 6:25, the sole idea of daily logs
rotation(have a log file with records for a single day) becomes
affected. I do not think that other daily scripts have dependency on
exact time when to run e.g. it doesn't matter when you run updatedb
for mlocate or check for packages updates. Best way is to use @daily
notation, that is much easier to read and makes more sense in general.
It is an enhancement, not a bug.
** Affects: cron (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1230285
Title:
move default time for daily crontab to midnight
Status in “cron” package in Ubuntu:
New
Bug description:
Hi,
now, default /etc/crontab is
# 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 )
Which is not very good for some cases. Logfiles are rotated by
logrotate in cron.daily, if it runs at 6:25, the sole idea of daily
logs rotation(have a log file with records for a single day) becomes
affected. I do not think that other daily scripts have dependency on
exact time when to run e.g. it doesn't matter when you run updatedb
for mlocate or check for packages updates. Best way is to use @daily
notation, that is much easier to read and makes more sense in general.
It is an enhancement, not a bug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1230285/+subscriptions
More information about the foundations-bugs
mailing list