This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

tetraneon25986
tetraneon25986

Hi everyone,

I have 3 servers with October CMS in a HA architecture. I use the scheduler but the jobs are made 3 times (of course).

With LARAVEL, it's possible avoiding that with the "onOneServer()" method : https://laravel.com/docs/8.x/scheduling#running-tasks-on-one-server

Is there the same method in October CMS ? Either, how avoid to have the same jobs done X times and keep HA functions ?

mjauvin
mjauvin

It should work the same on October, but this was added in Laravel 6.0, so you'd need to use the latest October branch (1.1). This is only available using composer, though.

Please read below on how to upgrade using composer:

https://octobercms.com/docs/console/commands#console-install-composer

tetraneon25986
tetraneon25986

Thanks for your answer ! Fantastic ! I read this article : https://octobercms.com/support/article/rn-11 Very interesting and exciting but yet a pretty difficult to install... Would it be scripted soon ?

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.