My backup script works fine when executed manually; but nothing runs from crontab. I am running Fedora 35 Workstation.
The crontab editor works:
$ crontab -e The cron daemon is not running. Each of these commands has no output:
$ pgrep cron $ pgrep crond $ pidof cron $ pidof crond My attempts to start cron:
$ whereis cron cron: /usr/share/man/man8/cron.8.gz $ whereis crond crond: /usr/sbin/crond /usr/share/man/man8/crond.8.gz $ sudo service cron start Redirecting to /bin/systemctl start cron.service Failed to start cron.service: Unit cron.service not found. $ sudo systemctl start cron Failed to start cron.service: Unit cron.service not found. My attempts to use cronie instead of cron:
$ sudo dnf install cronie Package cronie-1.5.7-3.fc35.x86_64 is already installed. Dependencies resolved. Nothing to do. $ sudo systemctl enable cronie.service Failed to enable unit: Unit file cronie.service does not exist. $ sudo systemctl start cronie.service Failed to start cronie.service: Unit cronie.service not found. Note also that anacron ("cronie.service") remains, if previously installed, during a Fedora system upgrade, but is NOT installed on, at least, Fedora Server 35, very surprisingly, when doing a fresh installation.
crondservice is installed and enabled by default; process is/usr/sbin/crond -n.crond.service. Docs: docs.fedoraproject.org/en-US/fedora/f35/…