User Image

Pramodvu1502's Profile

pramodvu1502 (fas) | Fedora badges

Pramodvu1502's Projects

pramodvu1502/systemd-cron

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.
  • Fedora 40 : aarch64, ppc64le, s390x, x86_64
  • Fedora 41 : aarch64, ppc64le, s390x, x86_64
  • Fedora 42 : aarch64, ppc64le, s390x, x86_64
  • Fedora rawhide : aarch64, ppc64le, s390x, x86_64