drupal/drupal-cron.sh

Tue, 28 Aug 2012 18:35:45 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:35:45 +0200
changeset 576
b3a1e74cc78b
permissions
-rw-r--r--

Update version, modernize packaging, correct considereable portability
flaws, correct typical german english grammar errors, and worst of all
correct detection of builtin GCC atomic primitives sync_sub_and_fetch
by forcing the detecting function to return the return value which seems
to cause GCC to fail for unknown reasons.

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