Add a handler to restart cron when addin the cronjob