Evoking Cron by PHP from Command line?

For seucrity reasons we desire to not open the cron url to the public. To have cron daily, weekly and so on running, we would like to limit to execute from localhost only.

Can we use PHP -f ? And if not, what is best way to achieve this?