How to launch PHP process into background?

Discussion in 'PHP' started by redhits, Aug 30, 2007.

  1. #1
    I am running on a linux server. I have a bunch of php scripts that i would like to execute in the background. Like 5000-1000 .php files. How should I call them?!
    Any nice way , can i also lunch a cron job for them,etc?:confused:
     
    redhits, Aug 30, 2007 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,899
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #2
    sarahk, Aug 30, 2007 IP
  3. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #3
    Hmmm likes i can only test this on the server, not on my Windows XP also :)
    Call to undefined function pcntl_fork() in C:\www\realrank\spiders\php.php on line 4
     
    redhits, Aug 30, 2007 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,899
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #4
    You get that. I thought your crawler was ready to go, looks like you're still tackling the technical issues :)
     
    sarahk, Aug 30, 2007 IP