Fix Cron example code