Added cron job handler