drupal/drupal-cron.sh

Mon, 15 Oct 2012 21:25:50 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 15 Oct 2012 21:25:50 +0200
changeset 743
51daf2b49ad7
permissions
-rw-r--r--

Back out change 742 as unversioned Google projects prove too unreliable
for production use, and rather correct problems with the OpenPKG v8
installation and leverage that instead.

     1 #!/bin/sh
     2 ##
     3 ##  drupal-cron.sh -- Drupal Cron Job
     4 ##
     6 server=`grep '^Listen' @l_prefix@/etc/drupal/drupal-apache.conf | head -1 | awk '{ print $2; }'`
     7 @l_prefix@/lib/openpkg/curl --silent --compressed http://$server/cron.php || true

mercurial