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

前端 未结 1 1870
终归单人心
终归单人心 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)
提交回复
热议问题