What does -f stand for in “php -f” when running a cron job?

牧云@^-^@ 提交于 2019-12-04 04:53:49

问题


What does the "-f" in say

* * * * * php -f myscript.php

stand for?


回答1:


According to the PHP Command-Line options reference: http://php.net/manual/en/features.commandline.options.php the -f option indicates which file the PHP engine should execute, in this case myscript.php.



来源:https://stackoverflow.com/questions/12486686/what-does-f-stand-for-in-php-f-when-running-a-cron-job

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!