drupal/drupal-cron.sh@dc14180f3f4e
drupal/drupal-cron.sh
Sat, 06 Oct 2012 21:54:06 +0200
- author
- Michael Schloh von Bennewitz <michael@schloh.com>
- date
- Sat, 06 Oct 2012 21:54:06 +0200
- changeset 731
- dc14180f3f4e
- permissions
- -rw-r--r--
Several apache dependent CMS and dynamic webservers (many PHP based)
write session cookies to /var/apache/run/apache-php.session while
running as the restricted '-r' user so accommodate this.
3 ## drupal-cron.sh -- Drupal Cron Job
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