-f 在“php -f"中代表什么?运行 cron 作业时?
"-f" 在说
* * * * * php -f myscript.php
代表什么?
推荐答案
根据 PHP 命令行选项参考:http://php.net/manual/en/features.commandline.options.php -f 选项指示 PHP 引擎应该执行哪个文件,在这种情况下 <代码>myscript.php.
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.
相关文章