Internal implementation: Running Tasks On One Server #41548
-
Hello, I'm just curious about this method Yes, I understand it uses supported cache drivers but it would be great if I can find more details. (I use |
Beta Was this translation helpful? Give feedback.
Answered by
mikeydevelops
Mar 18, 2022
Replies: 1 comment 4 replies
-
So by default Laravel asks you to configure cron job for
This method however assumes, every server's clock is synchronized. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
peco8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So by default Laravel asks you to configure cron job for
php artisan schedule:run
to be ran every minute.onOneServer
it creates anEvent
instance and sets a public property$onOneServer
totrue
.