Сертифицированный разработчик
Всего сообщений:
167
Карма:
3244
Присоединился:
06.07.2018
Страна:
India
Hi All, I had deploy nopCommerce in two different servers for load balancing. it's working fine. But I have only one problem All the Schedule tasks run twice because I had deployed in two application servers. I want to stop all Schedule task from 1 server and run from another. how can I do this?
MVP
Сертифицированный разработчик
Всего сообщений:
668
Карма:
6076
Присоединился:
30.03.2018
Страна:
Bangladesh
Set unique machine keys for eavh of your servers. Asume one of them is primary and rest are secondary servers. Then verify server is primary or not by checking machine key before executing the schedule tasks.
Всего сообщений:
12
Карма:
56
Присоединился:
27.02.2019
Страна:
India
Did you using same database both servers ?
Сертифицированный разработчик
Всего сообщений:
167
Карма:
3244
Присоединился:
06.07.2018
Страна:
India
Hello RajeshRajendiranT, yes, both server using the same database