开发者

PHP and Cron jobs

开发者 https://www.devze.com 2023-01-05 19:32 出处:网络
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

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消