[snip]
What do I have to do before I can run my file.php as a cron job in Linux?
[/snip]

Look at the archives for the past couple of days, it has been covered in
some detail. Make sure to compile PHP without apsx, and for practical
purposes move the PHP executable to the /usr/local/bin directory. Then put
this as the first line of the PHP file you want to run from a CRON;

#!/usr/local/bin/php

Then set up your CRON.

HTH!

Jay

"Philosophy is a study that lets us be unhappy more intelligently."

*************************************
* Want to meet other PHP developers *
* in your area? Check out:          *
* http://php.meetup.com/            *
* No developer is an island ...     *
*************************************



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to