![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 3.10.2004 Ostrzeżenie: (0%) ![]() ![]() |
Cze mam problem odnośnie crona
W setup_readme jest cos takiego: Put the updatepool.php file in a cron job of 15mins or 30minutes like this php -f /your/pathto/scriptfolder/updatepool.php replace it with your path in this way php -f /home/hostingusername/www/updatepool.php ( if you had renamed updatepool.php file then use that name here instead of updatepool.php ) Jak mam ustawic to dziadostwo bo ciągle mi nie działa poprawnie:( zakładajac ze moj skrypt jest na http://skrypt.host.pl/ Pozdro |
|
|
![]()
Post
#2
|
|
![]() Grupa: Przyjaciele php.pl Postów: 2 196 Pomógł: 2 Dołączył: 17.01.2004 Skąd: Sosnowiec Ostrzeżenie: (0%) ![]() ![]() |
Nic nie da wiedza, że Twój skrypt jest na jakiejś stronie, musisz dodać prace do crona na lokalnej maszynie przez crontab -e. Wpisz tam (dla 15 minut):
Kod */15 * * * * php -f /sciezka/do/pliku.php
-------------------- |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 3.10.2004 Ostrzeżenie: (0%) ![]() ![]() |
Oki, dzięki:)
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 25.06.2025 - 23:42 |