Crontab php



Can I use /usr/bin/env php with DH?
Is that the right location for env?

And if this function is not available, what’s the best way to execute a php file?



/usr/bin/env php will work, but you’re better off just specifying the one you want: /usr/local/php5/bin/php


Thanks! /usr/bin/env php did not work for me but usr/local/php did… :slight_smile: