improve queue error checking, update cron package