public function filterByCron($cron = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($cron)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $cron)) {
                $cron = str_replace('*', '%', $cron);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(RemoteAppPeer::CRON, $cron, $comparison);
    }