Total Posts:
166
Karma:
3229
Joined:
7/6/2018
Location:
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?
Total Posts:
668
Karma:
6076
Joined:
3/30/2018
Location:
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.
Total Posts:
12
Karma:
56
Joined:
2/27/2019
Location:
India
Did you using same database both servers ?
Total Posts:
166
Karma:
3229
Joined:
7/6/2018
Location:
India
Hello RajeshRajendiranT, yes, both server using the same database