Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Cronjobs, Problem:(
Clido
post 2.03.2005, 18:53:10
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
crash
post 2.03.2005, 21:13:29
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 4.03.2005, 22:09:53
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
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 25.06.2025 - 23:42