Fix CronMethod not working in PHP 5.3