Roughed in the cron job function