Autor Subiect: Despre Cron jobs  (Citit de 3167 ori)

sir_emi

  • Vizitator
Despre Cron jobs
« : Martie 03, 2005, 04:26:36 pm »
Am vazut pe forum undeva ceva, dar nu am mai gasit, daca poate cineva sa-mi spuna comanda ca sa rulez un php din /public_html/test.php

Multumesc

etp.ro

  • Moderator
  • Webmaster
  • *****
  • Mesaje postate: 824
  • Karma: +7/-0
    • Vezi Profilul
    • http://www.etp.ro
Despre Cron jobs
« Răspuns #1 : Martie 03, 2005, 04:35:03 pm »
cel mai bine este sa faci


php -f /home/your_username/public_html/fisier.php

web_dizain

  • Vizitator
Despre Cron jobs
« Răspuns #2 : Martie 03, 2005, 06:20:48 pm »
sau mai poti (citat din instructiuni cpanel)
Citat

Hint: to run PHP files, enter the command as follows (modify to fit your needs):
GET http://yourdomain.com/path_to_file/file.php > /dev/null

Hint: to run CGI files, enter the command as follows (modify to fit your needs):
GET http://yourdomain.com/cgi-bin/path_to_file/file.cgi > /dev/null