My isp allows me to establish cron processes /usr/bin/php /path/to/script.php
Is sufficient to run a php process (most of the $_SERVER parameters are missing but $ENV array should provide lots of environment stuff). Usually the cron process will have a legitimate user authority, so be careful. Another approach is to have a timed process on another machine, that performs a get to trigger the process on your host machine using a special URL, be careful that this process only accepts probes of this type from your machine only. If your process runs more than the time required to produce a web page, make sure you reset the timelimit, even if using a cron process. http://us2.php.net/manual/en/function.set-time-limit.php Good luck, Warren Vail [EMAIL PROTECTED] > -----Original Message----- > From: Simon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 12, 2005 9:47 PM > To: php-install@lists.php.net > Subject: [PHP-INSTALL] Background PHP tasks in an ISP environment. > > > Hi There, > > Im wondering if anyone has setup some sort of system to > enable users to run background tasks in an ISP environment? > All our vhosts are locked down from a PHP point of view, but > we have had a couple of users wanting to run these sort of things... > > We thought maybe a way that these users 'submit' a script to > be run, which we check over first before allowing, installing > the script ins /bin/dir and setting the permissions so they > can run it, but not update it? > > Ideas? > > Simon > >