cron - PHPファイルの実行

phpコマンドも絶対パスで指定する必要がある模様。

例えば

* * * * * php [file name]

じゃなくて

* * * * * /usr/local/bin/php [file name]

となる。

phpコマンドのパスは which php で調べられる。

About Me
なんかいろいろメモ。
Tumblelogs I follow: