added try/except block for catching cron failures