Fixed bug in cron command causing disconnect error from MySQL.