add auto restart on cron