Man page - systemd-crontab-generator(8)
Packages contains this manual
Manual
SYSTEMD-CRONTAB-GENERATO (8) System Managerās Manual SYSTEMD-CRONTAB-GENERATO (8)
NAME
systemd-crontab-generator ā translate cron schedules in systemd Units
SYNOPSIS
/usr/lib/systemd/system-generators/systemd-crontab-generator output-dir
DESCRIPTION
systemd-crontab-generator is a systemd.generator (7) translating classic cron āFILESā into native systemd.timer (5)/ systemd.service (5) pairs.
It runs automatically
ā¢
during early boot,
ā¢
a second time by cron-after-var.service if /var is a separate mount-point, in order to process user crontabs in /var/spool/cron/crontabs ,
ā¢
after each update to /etc/crontab ā and /etc/anacrontab ā , and
ā¢
when packages add files under /etc/cron.d ā
(ā : monitored by cron-update.path ).
FILES
/etc/crontab
Administratorās system crontab, see crontab (5).
/etc/cron.d
System crontabs managed by packages live here.
/etc/anacrontab
anacrontab (5)
/var/spool/cron/crontabs
Usersā crontabs live here.
/run/systemd/generator
Automatically generated units go here.
/run/crond.reboot
If this file exists, @reboot jobs arenāt re-generated. Managed automatically.
/var/lib/systemd/timers
systemd.timer (5)s with the Persistent flag set store their timestamps here.
DIAGNOSTICS
systemctl list-timers shows an overview of current timers and when theyāll elapse.
If you see something to the effect of
/usr/lib/systemd/system-generators/systemd-crontab-generator failed with error code 1.
in the journal, you can run /usr/lib/systemd/system-generators/systemd-crontab-generator /tmp/test for more verbose output.
SEE ALSO
crontab (5), systemd.unit (5), systemd.timer (5), systemd.cron (7) systemd-cron 2.5.1-2 2023-08-13 SYSTEMD-CRONTAB-GENERATOR (8)