do cron jobs from within drupal, without needing to set up a separate

cron job.
This commit is contained in:
espie 2009-07-16 08:40:31 +00:00
parent 5399380ace
commit 2769def09a
4 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/07/16 08:40:31 espie Exp $
COMMENT = run drupal scheduled tasks from apache
DISTNAME = poormanscron-6.x-1.0
PKGNAME = drupal6-poormanscron-1.0
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (drupal6/poormanscron-6.x-1.0.tar.gz) = j5xkE1CMhZz9/Vksaolv9Q==
RMD160 (drupal6/poormanscron-6.x-1.0.tar.gz) = XCqs4sXhxtzgy7HG9dgECWAcaII=
SHA1 (drupal6/poormanscron-6.x-1.0.tar.gz) = jUHhZbIApNLCnyzNwhD+AFiT03c=
SHA256 (drupal6/poormanscron-6.x-1.0.tar.gz) = Ok0MTUzUZq3LhPf2Z1DtO+I1qeHG+ws43BlsGjCnlG4=
SIZE (drupal6/poormanscron-6.x-1.0.tar.gz) = 11602

View File

@ -0,0 +1,8 @@
Poormanscron is a module which runs the Drupal cron operations without
needing the cron application.
For every page view, this module checks to see if our last cron run was more
than 1 hour ago (this period is configurable). If so, the cron hooks are
executed (which, for example, update RSS/syndication blocks), and Drupal
is happy. These cron hooks fire after all HTML is returned to the browser,
so the user who kicks off the cron jobs should not notice any delay.

View File

@ -0,0 +1,17 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/07/16 08:40:31 espie Exp $
@owner ${DRUPAL_OWNER}
@group ${DRUPAL_GROUP}
${DRUPAL_MODS}/poormanscron/
${DRUPAL_MODS}/poormanscron/LICENSE.txt
${DRUPAL_MODS}/poormanscron/README.txt
${DRUPAL_MODS}/poormanscron/po/
${DRUPAL_MODS}/poormanscron/po/ca.po
${DRUPAL_MODS}/poormanscron/po/cs.po
${DRUPAL_MODS}/poormanscron/po/da.po
${DRUPAL_MODS}/poormanscron/po/de.po
${DRUPAL_MODS}/poormanscron/po/fr.po
${DRUPAL_MODS}/poormanscron/po/it.po
${DRUPAL_MODS}/poormanscron/po/poormanscron.pot
${DRUPAL_MODS}/poormanscron/poormanscron.admin.inc
${DRUPAL_MODS}/poormanscron/poormanscron.info
${DRUPAL_MODS}/poormanscron/poormanscron.module