drupal/drupal-cron.sh

Fri, 12 Oct 2012 21:26:42 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 12 Oct 2012 21:26:42 +0200
changeset 737
b3e405e9af87
permissions
-rw-r--r--

Correct typo, possibly resulting for correct use of a very old script.

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

mercurial