Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> wykonywanie skrypu bez bodzca uruchamiajacego (skrypt startowany z servera)
test30
post 15.12.2007, 19:43:31
Post #1





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 15.12.2007

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


witam,
nigdy z czyms takim nie mialem doswiadczenia,
chcialbym napisac skrypt, ktory co x czasu samoczynnie sie powtarza;
problemem jest to, iz chcialbym zeby skrypt wykonywany byl nonstop, bez przymusu otwierania strony, bez potrzeby jej odswiezania;
krocej mowiac czy wie ktos jak zaczac wogole i od czego pisanie skryptu, ktory bedzie sam siebie wywolywac, bez potrzeby wchodzenia na dana strone zeby go uruchomic
jest mozliwe wykonanie takiego skryptu w php, trzeba samemu uruchomic server badz wynajac profesjonanly?
Go to the top of the page
+Quote Post
zakręcony
post 15.12.2007, 20:34:03
Post #2





Grupa: Zarejestrowani
Postów: 107
Pomógł: 10
Dołączył: 26.09.2007

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


jedno słowo: cron


--------------------
Rachunkowość w biurze we Wrocławiu: biuro rachunkowe wrocław, miejca parkingowe przy Okęciu parking Okecie.
Go to the top of the page
+Quote Post
test30
post 16.12.2007, 13:28:42
Post #3





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 15.12.2007

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


dziekuje bardzo, poczytalem. juz podjalem pierwsze dzialania, ale sa juz problemy przy pierwszych krokach.
zarejestrowalem sie na http://x10hosting.com

stworzylem plik
Kod
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "simple text";
iumiescilem go w /public_html/cgi-bin i nazwalem perl.pl;
jezeli uruchomie http://www.x4d1.x10hosting.com/cgi-bin/perl.pl to pojawia mi sie blad
Cytat
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@x4d1.x10hosting.com 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.

screen z podstawowej konfiguracji plikow

w czym tkwi blad?
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: 12.07.2025 - 12:00