Added cron example to docs