1

In crontab, what does /usr/bin/php -f do? Specifically, the -f

Not sure what that does, but I'm seeing it in a crontab I've came across.

Thank you.

wjandrea
  • 14,109
  • 4
  • 48
  • 98
James
  • 121
  • 1
  • 6
  • 2
    From `man php`: "You can parse and execute files by using parameter `-f` followed by the name of the file to be executed." – Jos Mar 12 '18 at 17:44
  • 2
    [How can I get help on terminal commands?](https://askubuntu.com/q/991946/507051) – dessert Mar 12 '18 at 17:49

1 Answers1

5

Just check man php:

   --file file
   -f file        Parse and execute file
Arkadiusz Drabczyk
  • 1,945
  • 12
  • 17