Các lập trình viên được chứng nhận
Tổng Bài đăng:
167
Karma:
3244
Đã tham gia:
06/07/2018
Vị trí:
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
Các lập trình viên được chứng nhận
Tổng Bài đăng:
668
Karma:
6076
Đã tham gia:
30/03/2018
Vị trí:
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.
Tổng Bài đăng:
12
Karma:
56
Đã tham gia:
27/02/2019
Vị trí:
India
Did you using same database both servers ?
Các lập trình viên được chứng nhận
Tổng Bài đăng:
167
Karma:
3244
Đã tham gia:
06/07/2018
Vị trí:
India
Hello RajeshRajendiranT, yes, both server using the same database