In laravel schedule to run the command every 2 or 3 hours?
Study of. documentation: there are hourly and daily. How to run a task that was performed every 2 hours, or 3, or 4? Do we have to resort to setting:
->cron('* * * * * *');
Thank you in advance!
asked June 14th 19 at 21:06
And what's the problem to resort to this setup? All these methods are just wrappers for cron method.
Your case is not so frequent, it seems there is no suitable wrapper.
2 - * */2 * * *
3 - * */3 * * *
Find more questions by tags Laravel