note 93089 added to function.pcntl-fork

From: Date: Sat, 22 Aug 2009 10:47:50 +0000
Subject: note 93089 added to function.pcntl-fork
Groups: php.notes 
Request: Send a blank email to php-notes+get-159787@lists.php.net to get a copy of this message
I was able to get around the problem of not being able to run fork and exec from Apache php. I got around this by calling the system 'at' command on Linux. "at run something now". and you have to set atrun -s in a crontab file (to run every minute) to insure that things get kicked off quickly even if there is a heavy load on the machine. If you're the only one running batch jobs on a linux box, this works. ---- Server IP: 209.41.74.194 Probable Submitter: 71.162.69.72 ---- Manual Page -- http://www.php.net/manual/en/function.pcntl-fork.php Edit -- https://master.php.net/note/edit/93089 Del: integrated -- https://master.php.net/note/delete/93089/integrated Del: useless -- https://master.php.net/note/delete/93089/useless Del: bad code -- https://master.php.net/note/delete/93089/bad+code Del: spam -- https://master.php.net/note/delete/93089/spam Del: non-english -- https://master.php.net/note/delete/93089/non-english Del: in docs -- https://master.php.net/note/delete/93089/in+docs Del: other reasons-- https://master.php.net/note/delete/93089 Reject -- https://master.php.net/note/reject/93089 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#159787) next »