![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 17.02.2013 Ostrzeżenie: (0%) ![]() ![]() |
Witam Chce wpisać w Cronie wykonywanie skryptu index.php?id= od 1 do 10 tys., czyli chce uruchomić 10 tys stron jedna po drugie. Wpisywanie jedna po drugie( index.php?id=1 index.php?id=2 index.php?id=3 index.php?id=4 index.php?id=5 ) zejdzie mi z tym z tydzień
![]() Ten post edytował promarian1970 12.05.2013, 17:04:01 |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 3 034 Pomógł: 366 Dołączył: 24.05.2012 Ostrzeżenie: (0%) ![]() ![]() |
wystarczyła by pętla? ale cos ta operacja wyglada podejrzanie....
Ten post edytował com 12.05.2013, 17:07:43 |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 17.02.2013 Ostrzeżenie: (0%) ![]() ![]() |
Mam stronę z obrazkami, gdzie zromadze access tokeny z facebooka. Mam ich 10 tys i chciałem je wrzucać przez crona. Jak to zrobić ?
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 279 Pomógł: 58 Dołączył: 14.07.2012 Ostrzeżenie: (0%) ![]() ![]() |
Zrób skrypt php który otworzy te strony w pętli, np. przez curl i przez crona uruchamiaj tylko ten jeden plik.
|
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 17.02.2013 Ostrzeżenie: (0%) ![]() ![]() |
Przy 500 powtórzeniach pętli wyskakuje długim czasie łądowania błąd
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@obczajone.marian96.webd.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Macie jakiś pomysł jak temu zaradzić. Wpisałem w skrypcie ini_set('max_execution_time', 300); ale nic nie daje. |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 22.04.2013 Ostrzeżenie: (0%) ![]() ![]() |
to moze zrob skrypt ktory Ci bedzie po kolei ew losowo otwierał linki, i jego podepnij pod crona co minute?
-------------------- Zapraszam na moją stronę z opisem skryptów dla programistów. http://skrypty.serwisik.com/
|
|
|
![]()
Post
#7
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 17.02.2013 Ostrzeżenie: (0%) ![]() ![]() |
Hhi dobry pomysł. Wykorzystam go. Dzięki temat do zamknięcia
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 18:05 |