cron job restart service code example Example 1: restart service linux crontab # service crond start Example 2: restart service linux crontab # /etc/init.d/crond start