Skip to content
Advertisement

Tag: scheduled-tasks

Laravel Task Scheduler always failed

Task Scheduler with call method always fail when I add onFailure callback Basic test: I’m wrong somewhere or missing something ? Thanks in advance Answer UPDATE: I submitted a PR to fix this in the Laravel framework and it was just merged. Looks like this will work in Laravel 8 (due to be released next week, I think). https://github.com/laravel/framework/pull/33914 It

How do I run a PHP script using windows schedule task?

I have installed localhost/server in my machine and I need to run a php script using windows schedule task. how do I add path in “Actions” tab in schedule task / cofigure the script to run for particular period? Answer Locate the php.exe executable on your system and pass it the name of the script file using the -f parameter.

Advertisement