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

前端 未结 1 1869
终归单人心
终归单人心 2021-01-14 03:13

What does the \"-f\" in say

* * * * * php -f myscript.php

stand for?

相关标签:
1条回答
  • 2021-01-14 03:40

    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.

    0 讨论(0)
提交回复
热议问题