Mon, 28 Jan 2013 17:37:18 +0100
Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.
michael@529 | 1 | #!/bin/sh |
michael@529 | 2 | ## |
michael@529 | 3 | ## drupal-cron.sh -- Drupal Cron Job |
michael@529 | 4 | ## |
michael@529 | 5 | |
michael@529 | 6 | server=`grep '^Listen' @l_prefix@/etc/drupal/drupal-apache.conf | head -1 | awk '{ print $2; }'` |
michael@529 | 7 | @l_prefix@/lib/openpkg/curl --silent --compressed http://$server/cron.php || true |
michael@529 | 8 |