drupal/drupal-cron.sh

Thu, 18 Oct 2012 12:53:06 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 18 Oct 2012 12:53:06 +0200
changeset 746
75275e2bcfd7
permissions
-rw-r--r--

Refine specification, using other PHP dependent web packages as reference.

     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