Abort cron duties if upgrade is pending
Merge pull request #594 from greezybacon/issue/594

Disable cron during upgrade

Reviewed-By: Peter Rotich <peter@osticket.com>