[FX.php List] A question about path when running cron jobs

Roger Moffat rogerkiwi at mac.com
Wed Sep 28 19:51:48 MDT 2011


On Sep 28, 2011, at 7:04 PM, Jonathan Schwartz wrote:

> Now, what is the best way to do this if my goal is to have transportable code with a single definition?  To be honest, path statements are not my strength.  In this particular case, the target folder (connections) is located outside of and at the same level of the web root.

On my Mac OS X server (client Mac OS X) the path to a file starts at

Library/WebServer/Documents/Site1Root/xxxxxxx

and using that in for example PHP scripts works.

I don't know if this is applicable to your situation with a script or not?

Roger


More information about the FX.php_List mailing list