public function validateCronExpression($cronExpression)
    {
        try {
            $schedule = Mage::getModel('cron/schedule');
            /* @var $schedule Mage_Cron_Model_Schedule */
            $schedule->setCronExpr($cronExpression);
        } catch (Exception $e) {
            return false;
        }
        return true;
    }
public function validateCronExpression($cronExpression)
    {
        try {
            $schedule = Mage::getModel('cron/schedule');
            /* @var $schedule Mage_Cron_Model_Schedule */
            $schedule->setCronExpr($cronExpression);
        } catch (Exception $e) {
            return false;
        }
        return true;
    }
public function validateCronExpression ( $ cronExpression ) { try { $ schedule = Mage :: getModel ( 'cron/schedule' ) ; /* @var $schedule Mage_Cron_Model_Schedule */ $ schedule -> setCronExpr ( $ cronExpression ) ; } catch ( Exception $ e ) { return false ; } return true ; }
Validate cron expression

@param $cronExpression
@return bool
Validate cron expression