Apache Linux PHP Server die after a while when i close the window...

Discussion in 'PHP' started by redhits, Dec 28, 2008.

  1. #1
    I am adding an i gnore_user_abord() and set_time_limit(0);

    but even so ... after a while the script stop responding and it's just dieing...


    what i can do ?!

    i want to spider a website, but after 5-10 minutes after i close the firefox it's stop running
     
    redhits, Dec 28, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    you need to put that in cron

    The cron shd check every 10 min that if the script is running or not ,if it is stopped it shd continue it where it stopped

    Regards

    Alex
     
    kmap, Dec 28, 2008 IP
  3. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #3
    hmmm


    but if i will put in a cron , then ... cron runs a command, and then i will need to change my script a little rigt?
    it won't support post/get but $argv ? and also i will need to change to call files by their full path location ?!
     
    redhits, Dec 28, 2008 IP