Laravel5.5 タスクの実行を確認する

タスクが実行されない現象があったので

php artisan schedule:run

で確認したら

file_put_contents(/your_site_path/storage/framework/cache/data/dc/42/dc42db13010a6c6583e60629f6204abb5f920fc5): failed to open stream: No such file or directory

cacheディレクトリのパーミッションを修正

再度実行

php artisan schedule:run

Running scheduled command: ‘/usr/bin/php’ ‘artisan’ command:command_name > ‘/dev/null’ 2>&1

うまくいきました。

シェアする

  • このエントリーをはてなブックマークに追加

フォローする