Start crond.service on Ubuntu 16.04
31,178
It's because the service name on 16.04 is cron
, not crond
. So your command should be:
sudo service cron start
You can verify on your server by looking in the /etc/init.d
folder. All the services are there.
ls -l /etc/init.d
Author by
hildogjr
Updated on December 04, 2020Comments
-
hildogjr over 3 years
I am programming some schedule task in my Ubuntu 16.04.
But when I try to start the crond.service by
sudo service crond start
I receive the message
crond.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
What's the problem? The tasks was added to the schedule by crontab command and look fine (the command works in the terminal, have the correct tree folder, I just added the day-hours parameters).