Convert cron check to shell_out