在 crontab 中,“/usr/bin/php -f”有什么作用?具体来说,-f

Jam*_*mes 1 command-line cron

在 crontab 中,有什么作用/usr/bin/php -f?具体来说,-f

不确定那是做什么的,但我在我遇到的 crontab 中看到了它。

谢谢你。

Ark*_*zyk 5

只需检查man php

   --file file
   -f file        Parse and execute file
Run Code Online (Sandbox Code Playgroud)