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?

ReactJS development environment works with my API when I use environment variables but my production server can’t?

My CRA ReactJS project will work with my .env file and all the stuff I put in the file in development mode aka (my computer), but then when I try to deploy the code to my production server which uses PM2. I have a JS file that deploys the code to the server and builds it on the server, then calls for the app.config.json file that actually runs the web server, but only the NODE_ENV and PORT work, anything I use with REACT_APP_(whatever) doesn’t and it just gives me undefined or null (depending on how I call the process.env)

How to run a copy of a Discord bot through a proxy?

I have a Discord bot written in discord.js. I created a referral system so that everyone can create a copy of my Discord bot with their own token, but there was a small problem. I don’t know how to run a copy of my Discord bot through a proxy so that there are several identical bots from one VPS, but with different tokens and with different proxies.

integrate pm2 with socket io in nodeJs

can’t use adapter with socket io in production although it’s running in development [1]: https://i.stack.imgur.com/eiyLf.png [2]: https://i.stack.imgur.com/R3LCj.png [3]: https://i.stack.imgur.com/Ncrog.png Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful … Read more