Thursday, 21 February 2019

Laravel5: How to disable default scheduler message if no command is ready to run

When using the Laravel5 scheduler:

* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

We receive the following default output if no command is ready to run:

# No scheduled commands are ready to run.

How to disable this default Laravel5 message? We don't want to have an output if there is no command ready to run. The best would be, when we were able to configure that message and return code on our self.



from Laravel5: How to disable default scheduler message if no command is ready to run

No comments:

Post a Comment