RE: where php at?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]

http://www.unixgeeks.org/security/newbie/unix/cron-1.html

Now, you can do this one of two ways

17 8 * * * /usr/local/bin/php /path/to/your/script.php 

Or you can add a bash line to the top of your file and then make sure to
have one blank line after the bash line

#!/usr/local/bin/php

/* start your script here */

The bash line may not work depending on how the host is set up.
[/snip]

And the cron line should then read (with a bash);

17 8 * * * /path/to/your/script.php

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux