drupal/drupal-cron.sh

Sun, 02 Sep 2012 18:14:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 02 Sep 2012 18:14:00 +0200
changeset 655
57a8260ef460
permissions
-rw-r--r--

Fully correct this time the defective sqlite(1) library detection.
Additionally, reorder the pkg-config(1) arguments according to the
man page usage description.

     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