[development] How to control background processes from inside Drupal?
doubaokun at gmail.com
Mon May 10 15:22:31 UTC 2010
I always use this script for debug. :)
On Mon, May 10, 2010 at 11:08 PM, Greg Knaddison
<Greg at growingventuresolutions.com> wrote:
> On Mon, May 10, 2010 at 1:02 PM, Leo Burd <leob at media.mit.edu> wrote:
>> Is there any way to start/stop background processes from inside Drupal?
> An alternative solution is to write a lightweight php file that runs
> via command-line php and can write to the Drupal database.
> You start off your file with
> require_once './includes/bootstrap.inc';
> And then you have full access to the Drupal environment including
> db_query to be able to read/write information in the Drupal
> Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com
> Mastering Drupal | http://www.masteringdrupal.com
A decathlon Drupal developer & programmer
More information about the development