pramodvu1502/systemd-cron
Project ID: 167949
Description
A cron daemon implementation as a systemd generator, converting cronjobs into systemd timer+service unit pairs. Integrates cronjob format with systemd, without a redundant daemon like cronie, but a systemd-generator.
Each cron job is converted into it's own service+timer pair. It checks if a similarly named timer is already present, in which case it doesn't generate units for the cronjobs with equivalent timers.
It's requirement is because 1-line crontab entries and just-drop-in cron.*/ directories are much simpler to write and maintain rather than 2 unit files 4-6 lines each, especially when there are many. It supports all known implementations like crontab, anacrontab, etc... with all features like sendmail etc...
This, as a native systemd generator rather than another redundant daemon, also makes it fit for inclusion in fedora as a pre-installed package like zram-generator [in my opinion].
"run-parts" is a feature requiring debianutils, which uses a timer+service pair per time granularity rather than generating individual pairs for each cronjob. Like cron-{weekly,daily}.service-timer rather than cron-{weekly,daily}-${specific_cronjob}.service-timer. It is a clunky hack which was used before the generator was written, and overrides the generator. It is thus fully disabled.
In this specific RPM build of systemd-cron, I have enabled all features and time granularity levels, and disabled run-parts.
Installation Instructions
No special setup needed; standard mock
build.
All steps to set it up and enable it are done in the specfile itself, with appropriate precautions to avoid possible side effects.
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
![]() |
aarch64 (24)*, ppc64le (24)*, s390x (24)*, x86_64 (26)* | Fedora 40 (7 downloads) |
![]() |
aarch64 (24)*, ppc64le (24)*, s390x (24)*, x86_64 (35)* | Fedora 41 (11 downloads) |
![]() |
aarch64 (24)*, ppc64le (24)*, s390x (24)*, x86_64 (24)* | Fedora 42 (7 downloads) |
![]() |
aarch64 (24)*, ppc64le (24)*, s390x (24)*, x86_64 (28)* | Fedora rawhide (11 downloads) |
* Total number of downloaded packages.