move default time for daily crontab to midnight

Bug #1230285 reported by Stas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cron (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.