Added support for auto restarts via cron check