Answer the question
In order to leave comments, you need to log in
Why is Cron job not firing in Laravel 5?
Hello. Tell me why the task scheduler does not work for me? Added command to cron on server ***** php /home/user7642/www/artisan schedule:run 1>> /dev/null 2>&1 There are many jobs in app/console/Kernel.php in schedule method. None are being executed. Error in logs with different time periods
[2016-02-17 16:23:43] production.ERROR: exception 'Illuminate\Session\TokenMismatchException' in /home/user7642/www/vendor/laravel/framework/src/Illuminate/Foundation /Http/Middleware/VerifyCsrfToken.php:46
Why doesn't VerifyCsrfToken pass?
Answer the question
In order to leave comments, you need to log in
If anyone is interested. The reason was that I was stupid. On the server, the path to php was usr/bin/php55, that's why it didn't work. And the error in the logs was not because of this, but due to the fact that some fifth-grader hacker tried to guess the password by sending POST requests.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question