Fix NOTICE errors from cli cron

Fix PHP NOTICE level errors for cron jobs executed from the command line

Fixes #4
Merge pull request #22 from greezybacon/issue/4

Fix NOTICE errors from cli cron

Reviewed-By: Peter Rotich <peter@osticket.com>