Hello,
how do you do for spider can run all time ?
What is the function(office) which allows to make(do) a script php which not arrete not?
Normaly, The program should etre stop by max_execution_time, no?
thanks, Anonymus.
Hi. Renice changes the priority of the process. You could change the number to give the process higher priority if wanted. A man page about renice can be found here (http://www.rt.com/man/renice.8.html). run scripts each hour withour cron:: script 1 checks how old (minutes) a time.txt file is . if older then 1 hour then run sub next. how can a script check how old a file.txt is? thats all new http://www.webmasterworld.com/forum13/3125.htmHOME |
Hi. The script should keep crawling as long as it finds links at the given level within a certain time. The set_time_limit(86400); in the spider.php file is for one day. More information about set_time_limit can be found here (http://www.php.net/manual/en/function.set-time-limit.php).
I thought that it came of print @exec('renice 18 '.getmypid()).
Thanks.
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|