Add more verbose error handling and update cron example.