Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]cron okresowe uruchamianie skryptu php
ilkar
post
Post #1





Grupa: Zarejestrowani
Postów: 131
Pomógł: 0
Dołączył: 20.08.2007

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


Hej

chciałem aby serwer uruchamiał mi co minutę skrypt do wysylania maila i w cronie napisałem następujące ścieżki, lecz zadna z nich nie działa:


* * * * * /etc/bin/php /home/strona/www/class/sending_mails_automat.php

*/1 * * * * cd /home/strona/www/class/;php sending_mails_automat.php

* * * * * /usr/bin/lynx - source http://adres_strony/class/sending_mails_automat.php > /dev/null 2>&1

*/1 * * * * /usr/bin/lunx - source http://adres_strony/class/sending_mails_automat.php

jakie polecenie powinienem napisac, aby skrypt byl wykonywany?
Go to the top of the page
+Quote Post

Posty w temacie


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 - 10:49