drupal/drupal-cron.sh

Sat, 25 Jan 2014 18:21:16 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 25 Jan 2014 18:21:16 +0100
changeset 791
a5b2210360f9
permissions
-rw-r--r--

Improve runtime configuration including additional network definition.

     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