#!/usr/bin/env php $url) { if ($url !== 'cli') { $url .= '?run_by=crontab&domain='.urlencode($matches[1]); if (file_get_contents($url) !== false) break; } else { // -d memory_limit=-1 --> no memory limit system(PHP_BINARY. ' -q -d memory_limit=-1 '.$path_to_egroupware.'/api/asyncservices.php '. $matches[1]); } } } }