View Single Post
Old 11-11-2004, 05:21 AM  
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
Quote:
Originally posted by notjoe
I "think" what you want to do is something like this then

Find the path to the PHP binary "which php" without quotes. Then change the lines to this

5 * * * * /usr/local/bin/php /path/to/php/script.php

But only if you only want to run that script... if you still want to use wget's spidering abilities then stick to the way you've done it
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?
__________________

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote