I want to find central point between clusters
I have project which built by NestJs and I want to change my some datas in every 24 hours, I’ve decided to use CronJob for that. But when I run my project by pm2(on different clusters), CronJob works once for every cluster and totally it works for cluster count (if I have 8 cluster, it works 8 times). How can I find central point which pm2 doesn’t separates that and my codes works only one time?
Source: JavaSript – Stack OverflowNovember 10, 2021