Multisite cron regexp help
portulaca - January 3, 2009 - 01:30
I want to use the first script from http://drupal.org/node/246091 to run cron for all my drupal multisites but I'm having a problem with $siteNameRegExp and $cronUrl syntax. The instructions aren't very clear, could you give me an example of what goes in there?
So far I've got
$siteNameRegExp = '([a-zA-Z0-9_-])';
$cronUrl = 'http://%s/cron.php';
and it finds all the directories under sites/ (including default/ and all/).
with $siteNameRegExp = '([a-zA-Z0-9_-])\.com'; the dot and c are missing from ".com"

Subdomain regexp
Try this if it's a subdomain:
$siteNameRegExp = '([a-z0-9]\.|[a-z0-9]\.|com)';