In the official document of bitcoin.org, they ask to use an init script instead of cron job, see the init scripts directory in Bitcoin Core’s source tree.
But the link is not working Bitcoin Core’s source tree
Cron Job option
@reboot bitcoind -daemon
I wanted to know the init script to restart a daemon