add loggin to cron to really understand what happnes, a few code fixes
wrap in try catch block
throw exception if allowed execution time is exceeded
fix undefined var
push live master changes