PHP and Cron jobs
I have some scripts which need to be run only through the CLI interface. So, when I execute them through Cron jobs, will they run through the CLI interface or开发者_StackOverflow some other daemon(if thats the right word to use).
The cron job (and/or shebang) will allow you to specify which program to use. Typically, it will use the same program you use as a CLI. PHP does not have a service (though it can use other services, like Apache).
精彩评论