|Summary:||sys-process/cronie[-anacron] - make it behave more like vixie-cron for daily, weekly, and monthly jobs|
|Product:||Gentoo Linux||Reporter:||acmondor <bugs.gentoo>|
|Component:||Current packages||Assignee:||Lars Wendler (Polynomial-C) <polynomial-c>|
|Package list:||Runtime testing required:||---|
New ebuild for better compatibility with vixie-cron
New crontab file for proposed cronie-1.5.4-r1.ebuild
ebuild cronie-1.5.4.ebuild patch
Patch for cronie-1.5.5.ebuild
Description acmondor 2019-09-14 19:54:35 UTC
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.
Comment 1 acmondor 2019-09-14 19:56:38 UTC
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.
Comment 2 Lars Wendler (Polynomial-C) 2019-09-14 20:05:44 UTC
In cases like this I do prefer (ebuild) patches.
Comment 3 acmondor 2019-09-14 21:32:21 UTC
Created attachment 589850 [details, diff] ebuild cronie-1.5.4.ebuild patch The patch for cronie-1.5.4.ebuild is attached.
Comment 4 Michał Górny 2019-10-11 15:07:57 UTC
Comment 5 acmondor 2019-10-11 15:22:04 UTC
Seems this got wrongly changed to RESOLVED OBSOLETE because it had vixie-cron in the title. This bug report is for cronie!
Comment 6 Joakim Tjernlund 2020-08-27 12:21:20 UTC
Just found this bug and I would like this too
Comment 7 acmondor 2020-08-27 16:20:27 UTC
Created attachment 657154 [details, diff] Patch for cronie-1.5.5.ebuild This is a cleaner/simpler patch than the earlier one. It uses a new keyword called 'vixiecron' to select the vixie-cron behaviour. I've been using this patch on my amd86 and x86 systems since cronie-1.5.5 became stable.