Created attachment 589844 [details]
New ebuild for better compatibility with vixie-cron
I am trying to migrate several machines that run 24x7 to cronie from vixie-cron but do not like how the daily, weekly, and monthly jobs are run. That is, I want to make sure those jobs run exactly at the same time as they did with vixie-cron (for various reasons) but it does not seem possible via cronie's anacron implementation.
Building cronie without anacron gets me very close, so I came up with an ebuild (see attached) that completes the picture. I am currently running cronie built from this ebuild and so far things look good.
The changes in this ebuild do the following, but only when cronie is built without the anacron USE flag:
- don't install /etc/cron.d/0hourly
- don't install /etc/cron.d/dailyjobs
- install /etc/crontab with contents similar to that used in vixie cron
With these changes, the daily, weekly, and monthly jobs are run the exact same way they were with vixie-cron.
Created attachment 589846 [details]
New crontab file for proposed cronie-1.5.4-r1.ebuild
This file is the original cronie crontab file with the vixie-cron contents appended to it.
In cases like this I do prefer (ebuild) patches.
Created attachment 589850 [details, diff]
ebuild cronie-1.5.4.ebuild patch
The patch for cronie-1.5.4.ebuild is attached.
Seems this got wrongly changed to RESOLVED OBSOLETE because it had vixie-cron in the title. This bug report is for cronie!