View Single Post
Old 11-11-2004, 05:27 AM  
notjoe
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
Quote:
Originally posted by Voodoo
OIC, so instead of using wget to run a PHP script, I can just point the crontab to the PHP module then the .php file and it will execute the script?
Correct, as long as you have PHP installed as a binary (Command line/CGI install) then you can execute scripts against it without actually having to run them through the web server.

Hit me up on ICQ at 5956902 if you need anymore help

(assuming that by module you mean executable binary file which is the php parser/interrupter)

If php is installed as an APACHE module and not as a binary file then you wont be able to do it and will have to use wget/apache OR you could just install PHP as a binary file

Last edited by notjoe; 11-11-2004 at 05:29 AM..
notjoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote