Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Cronjobs, Problem:(
Clido
post
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
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
crash
post
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
Go to the top of the page
+Quote Post
Clido
post
Post #3





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 3.10.2004

Ostrzeżenie: (0%)
-----


Oki, dzięki:)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 15:07