Whenever I switch off my server, I need to start my cron service manually. I fired a command :-
sudo update-rc.d cron defaults
Upon firing the above command, it shows the following:-
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match cron Default-Stop values (none)
insserv: warning: script 'K02printer' missing LSB tags and overrides
insserv: warning: script 'K02autossh_tunnel_x2' missing LSB tags and overrides
insserv: warning: script 'printer' missing LSB tags and overrides
insserv: warning: script 'autossh_tunnel_x2' missing LSB tags and overrides
When I restart the server and pgrep cron
, no integer is being displayed. I need to sudo service cron start
to start my cron manually.
How do I start the cron service on bootup.