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 some other daemon(if thats the right word to use).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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).